GoDiagram Web Reference
BrushPoint Property (GoShape)

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
'Declaration
 
<DescriptionAttribute("The normalized/fractional end point for linear gradients or focus point for path gradients, typically value each around from 0 to 1")>
<CategoryAttribute("Appearance")>
<TypeConverterAttribute("Northwoods.GoWeb.GoPointFConverter, Northwoods.GoWeb, Version=5.0.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")>
Public Overridable Property BrushPoint As PointF
[DescriptionAttribute("The normalized/fractional end point for linear gradients or focus point for path gradients, typically value each around from 0 to 1")]
[CategoryAttribute("Appearance")]
[TypeConverterAttribute("Northwoods.GoWeb.GoPointFConverter, Northwoods.GoWeb, Version=5.0.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")]
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoShape Class
GoShape Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback