From RAD Studio API Documentation
Jump to: navigation, search



TFilterSwirlTransition = class(TFilterBaseFilter)


class PASCALIMPLEMENTATION TFilterSwirlTransition : public TFilterBaseFilter


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


TFilterSwirlTransition is a wrapper for TSwirlTransitionEffect.

FMX.Filter.Effects.TFilterSwirlTransition inherits from FMX.Filter.Effects.TSwirlTransitionEffect. All content below this line refers to FMX.Filter.Effects.TSwirlTransitionEffect.

TSwirlTransitionEffect is a class for creating an effect that makes a transition between the texture of visible objects and another texture by swirling the first texture.

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

The transition is made between the texture of the object to which the effect is applied and the bitmap specified by the Target property. If Target is not specified, TSwirlTransitionEffect also uses the texture of the object to which the effect is applied as the second texture of the transition. TSwirlTransitionEffect swirls the texture of the object, producing spirals. The amount of twisting of the spirals can be set through the Strength property. The swirling center is in the center of the texture.

The progress of the transition between the two textures can be changed by using the Progress property.

The following table shows the result of the TSwirlTransitionEffect effect on a .png picture, placed on a form (using a TImage object). Default values are used for the Strength and Progress properties (Strength=30,Progress= 30%).

No effect (original picture) NoTarget specified With Target specified

FireMonkey logo NoEffects full.PNG

FireMonkey logo TSwirlTransitionEffect no texture.PNG

FireMonkey logo TSwirlTransitionEffect with texture.PNG

See Also

Code Examples