GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / BrushStartPoint Property
In This Topic
    BrushStartPoint Property (GoShape)
    In This Topic
    Gets or sets the start point for linear gradients, as normalized fractions of the size of the shape.
    Syntax
    [Category("Appearance")]
    [TypeConverter(Northwoods.Go.GoPointFConverter)]
    [Description("The normalized/fractional start point for linear gradients, typically each value from around 0 to 1")]
    public virtual PointF BrushStartPoint {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. Changing the BrushStyle may also change the value of this property.
    See Also