Class MetaBrush
A Brush bject that holds information about the style, the hatch and the color of the brush.
public class MetaBrush : MetaObject
- Inheritance
-
MetaBrush
- Inherited Members
Constructors
MetaBrush()
Creates a MetaBrush object.
public MetaBrush()
Fields
BS_DIBPATTERN
public const int BS_DIBPATTERN = 5
Field Value
BS_HATCHED
public const int BS_HATCHED = 2
Field Value
BS_NULL
public const int BS_NULL = 1
Field Value
BS_PATTERN
public const int BS_PATTERN = 3
Field Value
BS_SOLID
public const int BS_SOLID = 0
Field Value
HS_BDIAGONAL
public const int HS_BDIAGONAL = 3
Field Value
HS_CROSS
public const int HS_CROSS = 4
Field Value
HS_DIAGCROSS
public const int HS_DIAGCROSS = 5
Field Value
HS_FDIAGONAL
public const int HS_FDIAGONAL = 2
Field Value
HS_HORIZONTAL
public const int HS_HORIZONTAL = 0
Field Value
HS_VERTICAL
public const int HS_VERTICAL = 1
Field Value
Methods
GetColor()
Get the color of the MetaBrush.
public virtual Color GetColor()
Returns
- Color
color of the brush
GetHatch()
Get the hatch pattern of the MetaBrush
public virtual int GetHatch()
Returns
- int
hatch of the brush
GetStyle()
Get the style of the MetaBrush.
public virtual int GetStyle()
Returns
- int
style of the brush
Init(InputMeta)
Initializes this MetaBrush object.
public virtual void Init(InputMeta @in)
Parameters
in
InputMetathe InputMeta