LinearGradientBrush Constructor (RectangleF, Color, Color, Single) |
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public LinearGradientBrush(
RectangleF rectangle,
Color startColor,
Color endColor,
float angle
)
Public Sub New (
rectangle As RectangleF,
startColor As Color,
endColor As Color,
angle As Single
)
new :
rectangle : RectangleF *
startColor : Color *
endColor : Color *
angle : float32 -> LinearGradientBrush
Parameters
- rectangle
- Type: Eto.DrawingRectangleF
Rectangle to define the area of the gradient - startColor
- Type: Eto.DrawingColor
Start color for the gradient - endColor
- Type: Eto.DrawingColor
End color for the gradient - angle
- Type: SystemSingle
Angle of the gradient, in degrees
See Also