FMX.Graphics.TGradient.Style

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Style: TGradientStyle read FStyle write SetStyle default TGradientStyle.Linear;

C++

__property TGradientStyle Style = {read=FStyle, write=SetStyle, default=0};

Properties

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

Description

Determines the style for the gradient object.

Use Style to specify the direction of the gradient.

Style can have one of the following values:

Value Meaning

Linear

The gradient is linear (top to bottom, left to right, top-left to bottom-right, etc.)

Radial

The gradient is radial (concentric circles, with the center being a given point.)

See Also

Code Examples