TBrush class
The
Brush to be used to
Paint on the current
Canvas.
Declaration
TBrush = class(TFPCustomBrush)Inheritance
- TBrush
TFPCustomBrush
Description
A Brush is typically used to fill an enclosed area on the
Canvas with one particular color or colored pattern.
Properties
Bitmap | public | Bitmap with the pattern for the Brush. |
Handle | public | Operating System handle for the brush. |
Reference | public | Contains a Reference to the handle allocated for the Brush. |
Color | published | The Color of the current Brush. |
Style | published | Indicates the pattern drawn using the brush. |
Methods
DoAllocateResources | protected | Performs actions needed to allocate (or reallocate) resources for the brush instance. |
DoDeAllocateResources | protected | Performs actions to free resources allocated for the brush instance. |
DoCopyProps | protected | Copies properties from the specified FCL brush into the current class instance. |
SetColor | protected | Sets the value for the Color property. |
SetFPColor | protected | Sets the Brush color to the specified TFPColor value. |
SetBitmap | protected | Sets the value for the Bitmap property. |
SetStyle | protected | Sets the value for the Style property. |
Assign | public | Copies values from Source to the current brush instance. |
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
EqualsBrush | public | Compares the specified Brush to the current class instance. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
