FMX.Filter.Effects.TFilterLineTransition.Origin
Delphi
property Origin: TPointF read GetOrigin write SetOrigin;
C++
__property System::Types::TPointF Origin = {read=GetOrigin, write=SetOrigin};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Filter.Effects.pas FMX.Filter.Effects.hpp |
FMX.Filter.Effects | TFilterLineTransition |
Description
FMX.Filter.Effects.TFilterLineTransition.Origin inherits from FMX.Filter.Effects.TLineTransitionEffect.Origin. All content below this line refers to FMX.Filter.Effects.TLineTransitionEffect.Origin.
Specifies the line's origin point.
Origin is a TPointF value. It specifies the minimum point through which the transition line can pass. If Progress is set to 0%, the line passes through the Origin point.
If the OffsetProp coordinates are lower than the Origin coordinates, OffsetProp specifies the minimum point through which the line can pass, and Origin specifies the maximum point through which the line can pass.
Assign Origin a TPointF value with the X and Y coordinates or use the PointF function as follows:
LineTransitionEffect1.Origin := PointF(0, 0);
If Origin is not explicitly set, it is considered equal to [0,0]
.