From RAD Studio API Documentation
Jump to: navigation, search



TFilterShapeTransition = class(TFilterBaseFilter)


class PASCALIMPLEMENTATION TFilterShapeTransition : public TFilterBaseFilter


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


TFilterShapeTransition is a wrapper for TShapeTransitionEffect.

FMX.Filter.Effects.TFilterShapeTransition inherits from FMX.Filter.Effects.TShapeTransitionEffect. All content below this line refers to FMX.Filter.Effects.TShapeTransitionEffect.

TShapeTransitionEffect is a class for creating an effect that makes a transition between the texture of visible objects and another texture by wiping an irregular shape.

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, TShapeTransitionEffect has no visual effect. The wiped irregular shape is positioned in the middle of the textures.

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 TShapeTransitionEffect effect on a .png picture, with transparent background, placed on a form (using a TImage object). The value used for the Progress property is the default value (Progress=30%).

No effect (original picture) Target Result

FireMonkey logo NoEffects.PNG

Filter Effecs texture.PNG

FireMonkey logo TShapeTransitionEffect with texture.PNG

See Also

Code Examples