GDI Plus SolidBrush Foundation Class

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: THIS.Create(tvColor)

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: CREATEOBJECT("gpSolidBrush" [, tvColor])

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.

See Also

Reference

Visual FoxPro Foundation Classes A-Z
GDI Plus API Wrapper Foundation Classes

Concepts

Guidelines for Using Visual FoxPro Foundation Classes