[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Sets the value for the Color property.
Source position: graphics.pp line 739
protected procedure TBrush.SetColor( |
const NewColor: TColor; |
const NewFPColor: TFPColor |
); virtual; |
Value: TColor |
); |
NewColor |
|
TColor value applied to the brush Color. |
NewFPColor |
|
TFPColor value applied to the brush Color. |
Value |
|
New value for the property. |
An overloaded variant provides both TColor and TFPColor values. It is used to set the color by calling the SetFPColor method in the ancestor class. No actions are performed in the method when the values in Color and FPColor have not been changed and the brush Style contains bsClear.
Frees the brush handle in the References property, and sets the value in Bitmap to Nil. Calls the inherited SetStyle method when Style is bsClear. Calls Changed to signal the OnChange event handler (when assigned).
|
The Color of the current Brush. |
|
|
Indicates the pattern drawn using the brush. |
|
|
Contains a Reference to the handle allocated for the Brush. |
|
|
Bitmap with the pattern for the Brush. |
Version 3.2 | Generated 2024-02-25 | Home |