FMX.Filter.Effects.TGloomEffect

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TGloomEffect = class(TImageFXEffect)

C++

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

TGloomEffect is a class for creating an effect that intensifies dark regions.

TGloomEffect affects the textures of visual objects.

For further information, go to TImageFXEffect and FireMonkey Image Effects.

The brightness and saturation of the base image and the gloom regions can be set independently through the TGloomEffect properties.

The following table shows the result of the TBloomEffect and TGloomEffect effects on a .png picture, with transparent background placed on a form (using a TImage object).

For both effects, the base image's properties are set to the same values. The intensity properties for the gloom area and bloom area are set to the same value. The saturation properties for the gloom area and bloom area are set to the same value.

No effect (original picture) TBloomEffect TGloomEffect

FireMonkey logo NoEffects shadow.PNG

FireMonkey logo TBloomEffect.PNG

FireMonkey logo TGloomEffect.PNG

See Also

Code Examples