FMX.Filter.Effects.TFilterAffineTransform
Delphi
TFilterAffineTransform = class(TFilterBaseFilter)
C++
class PASCALIMPLEMENTATION TFilterAffineTransform : 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
TFilterAffineTransform is a wrapper for TAffineTransformEffect.
FMX.Filter.Effects.TFilterAffineTransform inherits from FMX.Filter.Effects.TAffineTransformEffect. All content below this line refers to FMX.Filter.Effects.TAffineTransformEffect.
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) |
||