Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ButtonHighlight = Brush.RadialGradientBrush(target, new RadialGradientDescription()
- {
- Center = new SlimDX.Vector2(50, 15),
- GradientSize = new SlimDX.Vector2(100, 30),
- HorizontalRadius = 50,
- VerticalRadius = 15,
- Stops = new GradientStop[]
- {
- new GradientStop() { Color = ConvertExt.ToColor(0xF0C6E2FF), Distance = 0.0f },
- new GradientStop() { Color = ConvertExt.ToColor(0xF0C6E2FF), Distance = 0.3f },
- new GradientStop() { Color = ConvertExt.ToColor(0xC6E2FF), Distance = 1.0f }
- }
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment