FMX.Filter.Effects.TDropTransitionEffect

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Filter.Effects.TImageFXEffectFMX.Effects.TFilterEffectFMX.Effects.TEffectFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTDropTransitionEffect

Delphi

TDropTransitionEffect = class(TImageFXEffect)

C++

class PASCALIMPLEMENTATION TDropTransitionEffect : public TImageFXEffect

Properties

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

Description

TDropTransitionEffect is a class for creating an effect that makes a transition between the texture of visible objects and another texture, by randomly dropping down the pixels columns of the first texture.

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, TDropTransitionEffect also uses the texture of the object to which the effect is applied as the second texture of the transition. Change RandomSeed property to change the seed that determine the dripping.

The transition progress between the two textures can be changed by using the Progress property.

The following table shows the result of the TDropTransitionEffect effect on a .png picture, with transparent background, placed on a form (using a TImage object).

Default values are used for the Progress and RandomSeed properties (Progress=30%, RandomSeed=0).

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

FireMonkey logo NoEffects.PNG

FireMonkey logo TDropTransitionEffect no texture.PNG

FireMonkey logo TDropTransitionEffect texture.PNG

See Also

Code Examples