LinearGradientBrush Constructor (Color, Color, PointF, PointF) |
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public LinearGradientBrush(
Color startColor,
Color endColor,
PointF startPoint,
PointF endPoint
)
Public Sub New (
startColor As Color,
endColor As Color,
startPoint As PointF,
endPoint As PointF
)
new :
startColor : Color *
endColor : Color *
startPoint : PointF *
endPoint : PointF -> LinearGradientBrush
Parameters
- startColor
- Type: Eto.DrawingColor
Start color for the gradient - endColor
- Type: Eto.DrawingColor
End color for the gradient - startPoint
- Type: Eto.DrawingPointF
Start point for the gradient - endPoint
- Type: Eto.DrawingPointF
End point for the gradient
See Also