FMX.Graphics.TGradientPoint.Offset

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Offset: Single read FOffset write FOffset nodefault;

C++

__property float Offset = {read=FOffset, write=FOffset};

Properties

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

Description

Indicates the start of the gradient points.

Set the Offset property to indicate the start of the gradient points in your gradient object. Offset scales to however the gradient is painted, with 0.0 being the start and 1.0 being the end of the gradient. The Offset of each point is where the color is exactly as specified and it transitions from the previous color (if any) up to it, and transitions to the next color (if any) after it. The zero Offset is at the StartPosition of a linear gradient, and on the outside of a radial gradient.

See Also

Code Examples