From RAD Studio API Documentation
Jump to: navigation, search



TFilterBloodTransition = class(TFilterBaseFilter)


class PASCALIMPLEMENTATION TFilterBloodTransition : public TFilterBaseFilter


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


TFilterBloodTransition is a wrapper for TBloodTransitionEffect.

FMX.Filter.Effects.TFilterBloodTransition inherits from FMX.Filter.Effects.TBloodTransitionEffect. All content below this line refers to FMX.Filter.Effects.TBloodTransitionEffect.

TBloodTransitionEffect is a class for creating an effect that applies a transition between the texture of visible objects and another texture, using a dripping motion.

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, TBloodTransitionEffect also uses, as the second texture of the transition, the texture of the object to which the effect is applied. The dripping can be customized by changing RandomSeed.

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 TBloodTransitionEffect effect on a .png picture, with transparent background, placed on a form (using a TImage object). Default values are used for the RandomSeed and Progress properties (RandomSeed=5 and Progress=30%).

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

FireMonkey logo NoEffects.PNG

FireMonkey logo TBloodTransitionEffect no texture.PNG

FireMonkey logo TBloodTransitionEffect with texture.PNG

See Also

Code Examples