GoDiagram Win Reference
BrushStyle Property (GoListGroup)

Gets or sets the kind of brush used by this shape.
Syntax
'Declaration
 
<DescriptionAttribute("The kind of simple brush used by this shape, including some linear and path gradients")>
<CategoryAttribute("Appearance")>
Public Overridable Property BrushStyle As GoBrushStyle
[DescriptionAttribute("The kind of simple brush used by this shape, including some linear and path gradients")]
[CategoryAttribute("Appearance")]
public virtual GoBrushStyle BrushStyle {get; set;}

Property Value

A GoBrushStyle. The default value depends on the shape type. However, for most shapes the default is GoBrushStyle.None because Brush is null.
Remarks

Changing this property to a new GoBrushStyle that is a gradient will also reset some of the brush properties to default values established by the corresponding Fill... methods. In particular, the value of BrushMidFraction, BrushPoint, BrushStartPoint, and/or BrushFocusScales may change. However, setting this property will not change the BrushColor, BrushForeColor or BrushMidColor properties, although some or all of those properties might not be used by certain brush styles. You will normally want to set this property first, before setting other Brush... properties.

When a linear gradient brush or a path gradient brush is drawn very small, due to a combination of small size and small GoView.DocScale, GoDiagram may substitute a solid brush or not draw anything at all, both for efficiency as well as to avoid GDI+ errors. When a path gradient brush is drawn very large, due to a combination of large size and large GoView.DocScale, GoDiagram may substitute a solid brush, both for efficiency as well as to avoid GDI+ errors.

Caution: using gradient brush styles, particularly path gradients, can be computationally expensive to paint. This is especially true for large shapes.

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

GoListGroup Class
GoListGroup Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback