FMX.Filter.Effects.TCropEffect.LeftTop

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property LeftTop: TPointF read GetLeftTop write SetLeftTop;

C++

__property System::Types::TPointF LeftTop = {read=GetLeftTop, write=SetLeftTop};

Properties

Type Visibility Source Unit Parent
property public
FMX.Filter.Effects.pas
FMX.Filter.Effects.hpp
FMX.Filter.Effects TCropEffect

Description

Specifies the left and top coordinates of the rectangle for this crop effect.

LeftTop is of type TPointF. Assign LeftTop a TPointF value with the left and top coordinates or use the PointF function as follows:

  CropEffect1.LeftTop := PointF(0, 0);

If LeftTop is not explicitly changed, it is considered (0,0). After the object image is cropped, the cropped area is repositioned in the upper-left corner of the object, and scaled to fit the object boundaries.

CropEffect.png

See Also

Code Examples