TFilterLineTransition = class(TFilterBaseFilter)
class PASCALIMPLEMENTATION TFilterLineTransition : public TFilterBaseFilter
TLineTransitionEffect is a class for creating an effect that makes a transition between the texture of visible objects and another texture, using a line to tie the 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, TLineTransitionEffect has no visual effect. The line that delimits the two textures is defined through the Origin, OffsetProp, and Normal properties. To set the fuzziness amount of the line, set the FuzzyAmount property.
The progress of the transition between the two textures can be changed by using the Progress property. When Progress is set to 0%, the line passes through the Origin point. If Progress is set to 100%, the line passes through the OffsetProp point. The second point that defines the line is calculated depending on Normal. Normal determines the line orientation. If the X coordinate of Normal is 0, then the line is parallel with the X axis. If the Y coordinate of Normal is 0, then the line is parallel with the Y axis.
The values used to define the line:
- Origin= PointF(70,50)
- OffsetProp= PointF(180,90)
- For the table's cells where Normal is not specified, it is considered to be in the middle of the image.
- For the table's cells where Progress is not specified, the default value is used (Progress=30%).
No effect (original picture)