System::Drawing::Drawing2D::HatchBrush class

HatchBrush class

Represents a rectangular brush with a hatch style, a foreground color, and a background color. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class HatchBrush : public System::Drawing::Brush

Methods

MethodDescription
Clone() overrideCreates an exact copy of the current object.
get_BackgroundColor() constReturns a value that indicates the background color of this brush.
get_ForegroundColor() constReturns a value that indicates the foreground color of this brush.
get_HatchStyle() constReturns a value that indicates the hatch style of this brush.
HatchBrush(HatchStyle, Color, Color)RTTI information.

See Also