Graphics.TBrush.Color

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Graphics.pas

	property Color: TColor read GetColor write SetColor;


Unit: Graphics

Type: property

Visibility: published

Member Of: TBrush

C++ Information

From Graphics.hpp

	__property Graphics::TColor Color = {read=GetColor,write=SetColor};


Unit: Graphics

Type: property

Visibility: public

Member Of: 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 Samples


Personal tools
Translations
Newest Version