Documents for Imaging .NET Edition | GCDocuments
GrapeCity.Documents.Common Assembly / GrapeCity.Documents.Drawing Namespace / RadialGradientBrush Class / RadialGradientBrush Constructor / RadialGradientBrush Constructor(Color,Color,PointF,Boolean)
The start gradient color.
The end gradient color.
The location of the focal point that defines the beginning of the gradient.
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.

In This Topic
    RadialGradientBrush Constructor(Color,Color,PointF,Boolean)
    In This Topic
    Initializes a new instance of the RadialGradientBrush class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal startColor As System.Drawing.Color, _
       ByVal endColor As System.Drawing.Color, _
       ByVal gradientOrigin As System.Drawing.PointF, _
       ByVal coverRectangle As System.Boolean _
    )
    public RadialGradientBrush( 
       System.Drawing.Color startColor,
       System.Drawing.Color endColor,
       System.Drawing.PointF gradientOrigin,
       System.bool coverRectangle
    )

    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