FMX.Filter.Effects.TBandedSwirlTransitionEffect

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Filter.Effects.TImageFXEffectFMX.Effects.TFilterEffectFMX.Effects.TEffectFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTBandedSwirlTransitionEffect

Delphi

TBandedSwirlTransitionEffect = class(TImageFXEffect)

C++

class PASCALIMPLEMENTATION TBandedSwirlTransitionEffect : 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

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

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, TBandedSwirlTransitionEffect also uses the texture of the object to which the effect is applied as the second texture of the transition. TBandedSwirlTransitionEffect swirls the texture of the object, forming spirals. The frequency with which spirals are formed can be set through the Frequency property and the amount of twisting in the spirals can be set through the Strength property. The center of the swirling can be set through the Center property.

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 TBandedSwirlTransitionEffect effect on a .png picture, with transparent background, placed on a form (using a TImage object). Default values are used for the Frequency, Strength, Center, and Progress properties (Frequency=20, Strength=1, Center= PointF(150,150),Progress= 30).

No effect (original picture) NoTarget specified With Target specified

FireMonkey logo NoEffects.PNG

FireMonkey logo TBandedSwirlTransitionEffect no texture.PNG

FireMonkey logo TBandedSwirlTransitionEffect with texture.PNG

See Also

Code Examples