Click or drag to resize

LinearGradientBrush Constructor (Color, Color, PointF, PointF)

Initializes a new instance of the LinearGradientBrush class between two points

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public LinearGradientBrush(
	Color startColor,
	Color endColor,
	PointF startPoint,
	PointF endPoint
)

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