FMX.Filter.Effects.TFilterCrop.LeftTop
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 | TFilterCrop |
Description
FMX.Filter.Effects.TFilterCrop.LeftTop inherits from FMX.Filter.Effects.TCropEffect.LeftTop. All content below this line refers to FMX.Filter.Effects.TCropEffect.LeftTop.
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.