FMX.Filter.Effects.TPixelateEffect

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TPixelateEffect = class(TImageFXEffect)

C++

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

TPixelateEffect is a class for creating an effect that pixelates the texture of visible objects.

For further information, see TImageFXEffect and FireMonkey Image Effects.

TPixelateEffect reduces the texture details. The amount of details can be changed through the BlockCount property.

The following table shows the result of the TPixelateEffect effect on a .png picture, with transparent background, placed on a form (using a TImage object). The default value (BlockCount= 25) is used for the BlockCount property.

No effect (original picture) Result

FireMonkey logo NoEffects.PNG

FireMonkey logo TPixelateEffect.PNG

See Also

Code Examples