

The HierarchyBrush type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | HierarchyBrush | Initializes a new instance of the HierarchyBrush class |
Properties
Name | Description | |
---|---|---|
![]() | BrushType |
Brush type.
|
![]() | Color1 |
Color1 is used in the following way: If BrushType = LinearGradientBrush, then as brush color for first end. = SolidBrush, then as brush color. = HatchBrush, then as forecolor for pictographic style. |
![]() | Color1Transparency |
Transparecy of Color1 [0-255], value 0 means full transparency and 255 means opaque. Default is 255.
|
![]() | Color2 |
Color2 is used in the following way: If BrushType = LinearGradientBrush, then as brush color for second end. = HatchBrush, then as backcolor for pictographic style. |
![]() | Color2Transparency |
Transparecy of Color2 [0-255], value 0 means full transparency and 255 means opaque. Default is 255.
|
![]() | CustomBrush |
User-defined brush object. Create a Brush derived object, and assign to this property. Also specify the brush type in BrushType property.
|
![]() | GradientOrientation |
Gradient-coloring direction, in case BrushType is set as LinearGradientBrush.
|
![]() | HatchStyle |
Pictographic style, in case BrushType is set as HatchBrush.
|
![]() | Image |
Image to display (tiled), in case BrushType is set as ImageTileBrush.
|
![]() | PenWidth |
Thickness of the pen on a scale of 1-5, when the brush is used for drawing. Default is 1.0 (for a fresh brush).
|
See Also