TFilterSwipeTransition = class(TFilterBaseFilter)
class PASCALIMPLEMENTATION TFilterSwipeTransition : public TFilterBaseFilter
TSwipeTransitionEffect is a class for creating an effect that applies a transition between the texture of visible objects and another texture, by swiping the two textures.
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, TSwipeTransitionEffect also uses the texture of the object to which the effect is applied as the second texture of the transition.
The following table shows the result of the TSwipeTransitionEffect effect on a .png picture, placed on a form (using a TImage object). Default values are used for the Deep, CornerPoint, and MousePoint properties (Deep= 50, CornerPoint=(0,0), MousePoint=(210,60)).
|No effect (original picture)||Target||Back|
|With Back and Target||With Back - No Target|
|No Back - With Target||No Back - No Target|
Animating the TSwipeTransitionEffect transition results in an effect that simulates the turning of a book page.
To animate a TSwipeTransitionEffect transition, use a TPathAnimation to move the MousePoint on a path. An example of how to animate a TSwipeTransitionEffect is described in the FMX.TSwipeTransitionEffect Animation example.