Click or drag to resize

RadialGradientBrush Constructor

Initializes a new instance of the RadialGradientBrush.

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public RadialGradientBrush(
	Color startColor,
	Color endColor,
	PointF center,
	PointF gradientOrigin,
	SizeF radius
)

Parameters

startColor
Type: Eto.DrawingColor
Start color from the gradientOrigin
endColor
Type: Eto.DrawingColor
End color at the outer edge of the ellipse
center
Type: Eto.DrawingPointF
Center of the ellipse
gradientOrigin
Type: Eto.DrawingPointF
Origin of the gradient.
radius
Type: Eto.DrawingSizeF
Radius of the ellipse.
See Also