FMX.Filter.Effects.TAffineTransformEffect
Delphi
TAffineTransformEffect = class(TImageFXEffect)
C++
class PASCALIMPLEMENTATION TAffineTransformEffect : 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
TAffineTransformEffect is a class for creating an effect that applies an affine transformation to the texture of visible objects.
For further information, go to TImageFXEffect and FireMonkey Image Effects.
TAffineTransformEffect offers the possibility to rotate and scale the texture of the object to which the effect is applied. The changes are applied only to the object's texture, and not to the entire object. The object's dimensions and position are not affected.
To apply a rotation transformation, change the Center and Rotation properties.
To scale the object's texture, set the Scale property.
The following table shows the result of an affine transformation effect on a .png picture (with transparent background) placed on a form (using a TImage object).
No effect (original picture) |
||