FMX.Graphics.TBrush.Kind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Kind: TBrushKind read FKind write SetKind stored IsKindStored;

C++

__property TBrushKind Kind = {read=FKind, write=SetKind, stored=IsKindStored, nodefault};

Properties

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

Description

Determines the pattern for the brush.

Use Kind to specify the pattern painted by the brush. Kind can have one of the following values:

Value Meaning

Bitmap

The brush's pattern is defined by an external bitmap image.

Gradient

The brush's pattern is a gradient and you can set the gradient type and colors.

None

The brush has no pattern. The fill of the object is transparent and the Color property has no effect.

Resource

The brush's pattern is a specified brush resource.

Solid

The brush's pattern is a solid color, which you can set by using the Color property.

bkGrab

The brush's pattern is a snapshot of a control.

See Also


Code Examples