[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
The Brush to be used to Paint on the current Canvas.
Source position: graphics.pp line 721
type TBrush = class(TFPCustomBrush) |
||
protected |
||
procedure DoAllocateResources; override; |
|
Performs actions needed to allocate (or reallocate) resources for the brush instance. |
procedure DoDeAllocateResources; override; |
|
Performs actions to free resources allocated for the brush instance. |
procedure DoCopyProps(); override; |
|
Copies properties from the specified FCL brush into the current class instance. |
procedure SetColor(); |
|
Sets the value for the Color property. |
procedure SetFPColor(); override; |
|
Sets the Brush color to the specified TFPColor value. |
procedure SetBitmap(); |
|
Sets the value for the Bitmap property. |
procedure SetStyle(); override; |
|
Sets the value for the Style property. |
public |
||
procedure Assign(); override; |
|
Copies values from Source to the current brush instance. |
constructor Create; override; |
|
Constructor for the class instance. |
destructor Destroy; override; |
|
Destructor for the class instance. |
function EqualsBrush(); |
|
Compares the specified Brush to the current class instance. |
property Bitmap: TCustomBitmap; [rw] |
|
Bitmap with the pattern for the Brush. |
|
Operating System handle for the brush. |
|
property Reference: TWSBrushReference; [r] |
|
Contains a Reference to the handle allocated for the Brush. |
published |
||
|
The Color of the current Brush. |
|
property Style; |
|
Indicates the pattern drawn using the brush. |
end; |
|
The Brush to be used to Paint on the current Canvas. |
|
| | ||
TFPCustomBrush |
||
? | ||
TObject |
A Brush is typically used to fill an enclosed area on the Canvas with one particular color or colored pattern.
Version 3.2 | Generated 2024-02-25 | Home |