RadialGradientBrush Constructor |
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
)
Public Sub New (
startColor As Color,
endColor As Color,
center As PointF,
gradientOrigin As PointF,
radius As SizeF
)
new :
startColor : Color *
endColor : Color *
center : PointF *
gradientOrigin : PointF *
radius : SizeF -> RadialGradientBrush
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