FMX.Effects.TBlurEffect

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Effects.TFilterEffectFMX.Effects.TEffectFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTBlurEffect

Delphi

TBlurEffect = class(TFilterEffect)

C++

class PASCALIMPLEMENTATION TBlurEffect : public TFilterEffect

Properties

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

Description

TBlurEffect is a class for creating an effect that blurs the texture of visible objects.

TBlurEffect is an implementation of TEffect. For further information, go to TEffect and FireMonkey Image Effects.

Beside properties provided by TEffect, TBlurEffect provides a property, called Softness, which you can use to change the blur softness.

For example, the following table shows the result of TBlurEffect on a .png picture (with transparent background) placed on a form (using a TImage object) and on a TRectangle object. For both objects, Softness is set to 0.3.

Original TBlurEffect

FireMonkey logo NoEffects.PNG

FireMonkey logo TBlurEffect.PNG

Rectangle1 FMX NoEffect.PNG

Rectangle1 FMX TBlurEffect.PNG

See Also

Code Examples