[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The Color of the current Brush.
Source position: graphics.pp line 753
published property TBrush.Color : TColor |
Color is a TColor property with the color used to draw the brush pattern indicated in the Style property. It is the background or fill color when Style contains bsSolid. Color is not used when Style is set to bsClear; in fact, the brush style in TFPCustomBrush ancestor is actually set to bsSolid.
Setting a new value for the property causes an existing brush handle in Reference to be freed, and the pattern image in Bitmap is discarded.
The default value for the property is clWhite. The default property value is restored when a new value is assigned to the Bitmap property.
|
Indicates the pattern drawn using the brush. |
|
|
Bitmap with the pattern for the Brush. |
|
|
Contains a Reference to the handle allocated for the Brush. |
|
|
Operating System handle for the brush. |
Version 3.2 | Generated 2024-02-25 | Home |