LinearGradientBrushIHandlerCreate Method (Color, Color, PointF, PointF) |
Creates a linear gradient brush
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax Object Create(
Color startColor,
Color endColor,
PointF startPoint,
PointF endPoint
)
Function Create (
startColor As Color,
endColor As Color,
startPoint As PointF,
endPoint As PointF
) As Object
abstract Create :
startColor : Color *
endColor : Color *
startPoint : PointF *
endPoint : PointF -> Object
Parameters
- startColor
- Type: Eto.DrawingColor
Start color. - endColor
- Type: Eto.DrawingColor
End color. - startPoint
- Type: Eto.DrawingPointF
Start point. - endPoint
- Type: Eto.DrawingPointF
End point.
Return Value
Type:
ObjectControlObject for the brush
See Also