GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / BrushPoint Property
In This Topic
    BrushPoint Property (GoShape)
    In This Topic
    Gets or sets the end point for linear gradients or the focus point for path gradients, as normalized fractions of the size of the shape.
    Syntax
    [Category("Appearance")]
    [TypeConverter(Northwoods.Go.GoPointFConverter)]
    [Description("The normalized/fractional end point for linear gradients or focus point for path gradients, typically value each around from 0 to 1")]
    public virtual PointF BrushPoint {get; set;}

    Property Value

    A PointF whose X and Y values are normally between 0 and 1, and should be between -1 and 2. An X value of zero corresponds to the left side of the shape; an X value of 1 corresponds to the right side. A Y value of zero corresponds to the top side of the shape; a Y value of 1 corresponds to the bottom side. Negative values or values greater than 1 denote points that are outside of the shape.
    Remarks
    This property is not meaningful unless the BrushStyle is a linear gradient or a path gradient. Changing the BrushStyle may also change the value of this property.
    See Also