Vcl.Graphics.TBrush.Color

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Color: TColor read GetColor write SetColor default clWhite;

C++

__property System::Uitypes::TColor Color = {read=GetColor, write=SetColor, default=16777215};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TBrush

Description

Indicates the color of the brush.

The Color property determines the color of the brush. This is the color that is used to draw the pattern represented by the Style property, not the background color of the brush (unless Style is bsSolid).

Note: If the value of the Style property is bsClear, the Color property is ignored. Further, any value assigned to the Color property is lost when Style is set to bsClear.

See Also

Code Examples