FMX.Filter.Effects.TPixelateTransitionEffect

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TPixelateTransitionEffect = class(TImageFXEffect)

C++

class PASCALIMPLEMENTATION TPixelateTransitionEffect : 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

TPixelateTransitionEffect is a class for creating an effect that makes a transition between the texture of visible objects and another texture by applying a pixelating effect over the two textures.

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, TPixelateTransitionEffect also uses the texture of the object to which the effect is applied as the second texture of the transition.

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

The following table shows the results of the TPixelateTransitionEffect effect on two different images placed on a form (using a TImage object):

  • A .png image with a transparent background
  • A .png image with no transparent areas

The two images are used as the first texture and as Target.

The Progress property is set to 50%.

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

FireMonkey logo NoEffects.PNG

FireMonkey logo TPixelateTransitionEffect no texture1.PNG

FireMonkey logo TPixelateTransitionEffect with texture1.PNG

Filter Effecs texture.PNG

FireMonkey logo TPixelateTransitionEffect no texture2.PNG

FireMonkey logo TPixelateTransitionEffect with texture2.PNG

See Also

Code Examples