Click or drag to resize

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
)

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: Object
ControlObject for the brush
See Also