From RAD Studio API Documentation
Jump to: navigation, search



TFilterSlideTransition = class(TFilterBaseFilter)


class PASCALIMPLEMENTATION TFilterSlideTransition : public TFilterBaseFilter


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


TFilterSlideTransition is a wrapper for TSlideTransitionEffect.

FMX.Filter.Effects.TFilterSlideTransition inherits from FMX.Filter.Effects.TSlideTransitionEffect. All content below this line refers to FMX.Filter.Effects.TSlideTransitionEffect.

TSlideTransitionEffect is a class for creating an effect that makes a transition between the texture of visible objects and another texture by sliding the textures.

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, TSlideTransitionEffect also uses the texture of the object to which the effect is applied as the second texture of the transition. The maximum distance of the slide, on the X and Y axes, can be set using the point specified through the SlideAmount 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 TSlideTransitionEffect effect on a .png picture, with transparent background, placed on a form (using a TImage object). Default values are used for the Progress and SlideAmount properties (Progress=30% and SlideAmount=PointF(150,150)).

No effect (original picture) No Target specified With Target specified

FireMonkey logo NoEffects.PNG

FireMonkey logo TSlideTransitionEffect no texture.PNG

FireMonkey logo TSlideTransitionEffect with texture.PNG

See Also

Code Examples