FMX.Filter.Effects.TPinchEffect
Delphi
TPinchEffect = class(TImageFXEffect)
C++
class PASCALIMPLEMENTATION TPinchEffect : 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
TPinchEffect is a class for creating an effect that pinches a circular region of the texture of visual objects.
For further information, go to TImageFXEffect and FireMonkey Image Effects.
The center of the circular region is specified through the Center property. The circular region's aspect can be customized through the AspectRatio property. The amount of winding of the pinched area can be set through the Strength property. The circular region's radius is specified through the Radius property.
The following table shows the result of the TPinchEffect effect on a .png picture, placed on a form (using a TImage object). The Center of the swirls is set in the center of the image. The rest of the TPinchEffect properties are used with their default values (AspectRatio=1.5, Strength=10, Radius=0.25).
No effect (original picture) | Result |
---|---|