Show: Delphi C++
Display Preferences

FMX.Graphics.TGradient

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TPersistentSystem.TObjectTGradient

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


Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance