Show: Delphi C++
Display Preferences

FMX.Graphics.TGradient.StopPosition

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property StopPosition: TPosition read FStopPosition write SetStopPosition stored IsLinearStored;

C++

__property Fmx::Types::TPosition* StopPosition = {read=FStopPosition, write=SetStopPosition, stored=IsLinearStored};

Properties

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

Description

Specifies the stopping point of the gradient.

Use the StopPosition property to specify the stopping point of the gradient. StopPosition is in unit coordinates, from (0,0) in the top-left to (1,1) in the bottom-right of the rectangle being painted. Changing the rotation of a linear gradient in the Brush Designer modifies these coordinates so that the gradient goes in the desired direction.

Note: The changes made to StopPosition are visible only when the Style property is set to Linear.

See Also


Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance