FMX.Types.TGradient
From RAD Studio API Documentation
Delphi
TGradient = class(TPersistent)
C++
class PASCALIMPLEMENTATION TGradient : public System::Classes::TPersistent
Contents |
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
TGradient represents the class for gradient patterns.
A TGradient instance is used for creating a gradient pattern. A gradient defaults to having two points, and the colors of these two points are exposed as Color and Color1. But it can also have more than two colors, which requires modifying the TGradientPoints through the Points property. The gradient can start and end at any given point, and can be either linear (by default) or radial.
See Also