FMX.Filter.Effects.TFilterCrop

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Filter.Effects.TFilterBaseFilterFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFilterCrop

Delphi

TFilterCrop = class(TFilterBaseFilter)

C++

class PASCALIMPLEMENTATION TFilterCrop : public TFilterBaseFilter

Properties

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

Description

TFilterCrop is a wrapper for TCropEffect.

FMX.Filter.Effects.TFilterCrop inherits from FMX.Filter.Effects.TCropEffect. All content below this line refers to FMX.Filter.Effects.TCropEffect.

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

FireMonkey logo NoEffects.PNG

FireMonkey logo TCropEffect.PNG

See Also

Code Examples