The gpHatchBrush class provides a brush object which fills with a hatch pattern.
| Category | Reporting |
|---|---|
|
Default Catalog |
VisualВ FoxProВ Catalog\FoundationВ Classes\Output\GDIplus |
|
Class |
gpHatchBrush |
|
Base Class |
Custom |
|
Class Library |
_GDIPLUS.vcx |
|
Parent Class |
gpBrush (GDI Plus Brush Foundation Class) |
Remarks
The following table lists public properties and methods added by this class to its parent class, gpBrush. This class also implements the Init method.
| Properties and methods | Description |
|---|---|
|
BackgroundColor Property |
Specifies the color of the space between hatch lines, as an integer defining an ARGB value. Default: Empty. |
|
Create Method |
Creates a hatchbrush object.
Syntax:
Return Values: Logical, representing success or failure. Parameters:В tnStyle, required, the hatch pattern or style to be used. Use a constant as specified in the GDIPLUS_HatchStyle_* constant set. tvForeColor, optional, an integer or gpColor object representing a color value for the brush forecolor (hatch lines). tvBackColor, optional, an integer or gpColor object representing a color value for the brush backcolor (space between the hatch lines). |
|
ForegroundColor Property |
Specifies the color of the hatch lines, as an integer defining an ARGB value. Default: Empty. |
|
HatchStyle Property |
Specifies the hatch style, or pattern. Use a constant as specified in the GDIPLUS_HatchStyle_* constant set.
Default:
|
|
Init Method |
Constructs a hatchbrush object during initialization if passed appropriate arguments.
Syntax:
Return Values: Logical, representing success or failure. If the method fails, the object does not instantiate. Parameters:В tnStyle, required if immediate creation of the object is requested, representing the hatch pattern or style to be used. Use a constant as specified in the GDIPLUS_HatchStyle_* constant set. tvForeColor, optional, an integer or gpColor object representing a color value for the brush forecolor (hatchlines). tvBackColor, optional, an integer or gpColor object representing a color value for the brush backcolor (space between the hatchlines). |
js editor
Web development