FMX.Graphics.TGradient
Delphi
TGradient = class(TPersistent)
C++
class PASCALIMPLEMENTATION TGradient : public System::Classes::TPersistent
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | FMX.Graphics |
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
- FMX.Graphics.TBrush
- FMX.Graphics.TGradientPoint
- FMX.Graphics.TGradientPoints
- FMX.Graphics.TGradientStyle