Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / LinearGradientBrush Class / LinearGradientBrush Constructor / LinearGradientBrush Constructor(Color,PointF,Color,PointF)
The start gradient color.
The start gradient point.
The end gradient color.
The end gradient point.

In This Topic
    LinearGradientBrush Constructor(Color,PointF,Color,PointF)
    In This Topic
    Initializes a new instance of the LinearGradientBrush class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal startColor As System.Drawing.Color, _
       ByVal startPoint As System.Drawing.PointF, _
       ByVal endColor As System.Drawing.Color, _
       ByVal endPoint As System.Drawing.PointF _
    )
    public LinearGradientBrush( 
       System.Drawing.Color startColor,
       System.Drawing.PointF startPoint,
       System.Drawing.Color endColor,
       System.Drawing.PointF endPoint
    )

    Parameters

    startColor
    The start gradient color.
    startPoint
    The start gradient point.
    endColor
    The end gradient color.
    endPoint
    The end gradient point.
    See Also