Documents for Imaging .NET Edition
GrapeCity.Documents.Common Assembly / GrapeCity.Documents.Drawing Namespace / RadialGradientBrush Class / GradientOrigin Property

In This Topic
    GradientOrigin Property
    In This Topic
    Gets or sets the location of the focal point that defines the beginning of the gradient.

    (0,0) is the top-left corner, (1,1) is the bottom-right corner. The default is (0.5f, 0.5f).

    Syntax
    'Declaration
     
    Public Property GradientOrigin As System.Drawing.PointF
    public System.Drawing.PointF GradientOrigin {get; set;}
    See Also