FMX.Filter.Effects.TCropEffect

From RAD Studio API Documentation

TCropEffectFMX.Filter.Effects.TImageFXEffectFMX.Effects.TFilterEffectFMX.Effects.TEffectFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObject

Delphi

TCropEffect = class(TImageFXEffect)

C++

class PASCALIMPLEMENTATION TCropEffect : public TImageFXEffect

Properties

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

Description

TCropEffect is a class for creating an effect that crops a rectangle area from the texture of visible objects.

For further information, go to TImageFXEffect and FireMonkey Image Effects.

The rectangle area to be cropped and displayed as the object's texture is specified by the LeftTop and RightBottom properties.

The cropped area is repositioned in the upper-left corner of the object, if it is necessary, and scaled to fit the object boundaries.

The following table shows the result of the crop effect on a .png picture placed on a form (using a TImage object).

No effect (original picture) TCropEffect

See Also

Code Examples