The gpSolidBrush class provides a brush object which fills with a solid color.
Category | Reporting |
---|---|
Default Catalog |
VisualВ FoxProВ Catalog\FoundationВ Classes\Output\GDIplus |
Class |
gpSolidBrush |
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 |
---|---|
BrushColor Property |
Specifies the color of a SolidBrush object as an integer representing an ARGB value. Default: None. |
Create Method |
Creates a SolidBrush object in a specified color.
Syntax:
Return Values: Logical, representing success or failure. Parameters:В tvColor, required, a gpColor-based object or a number representing a composite color value. |
Init Method |
Constructs a SolidBrush 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:В tvColor, required if immediate creation of the object is requested, a gpColor-based object or a number representing a composite color value. |