RadialGradientBrush Constructor(Color,Color,PointF,Boolean)
In This Topic
Initializes a new instance of the
RadialGradientBrush class.
Syntax
'Declaration
Public Function New( _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.PointF, _
ByVal As System.Boolean _
)
public RadialGradientBrush(
System.Drawing.Color ,
System.Drawing.Color ,
System.Drawing.PointF ,
System.bool
)
Parameters
- startColor
- The start gradient color.
- endColor
- The end gradient color.
- gradientOrigin
- The location of the focal point that defines the beginning of the gradient.
- coverRectangle
- Indicates whether the ending shape of the gradient is calculated to cover the entire rectangular area of the figure being filled. Normally this would be false to fill ellipses (which is the default), and true to fill rectangles.
See Also