FMX.Effects.TGlowEffect

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TGlowEffect = class(TFilterEffect)

C++

class PASCALIMPLEMENTATION TGlowEffect : public TFilterEffect

Properties

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

Description

TGlowEffect is a class for creating a glow effect around a visible object.

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

Beside the properties provided by TEffect, TGlowEffect provides three specific properties: GlowColor, Opacity, and Softness.

For example, the following table shows the result of TGlowEffect on a .png picture (with transparent background) placed on a form (using a TImage object) and on a TRectangle object. For both objects, GlowColor is set to Gold, Opacity, to 0,9, and Softness, to 0,4.


Original TGlowEffect

FireMonkey logo NoEffects.PNG

FireMonkey logo TGlowEffect.PNG

Rectangle FMX NoEffect.PNG

Rectangle FMX TGlowEffect.PNG

See Also

Code Examples