From RAD Studio API Documentation
Jump to: navigation, search



TFilterGloom = class(TFilterBaseFilter)


class PASCALIMPLEMENTATION TFilterGloom : public TFilterBaseFilter


Type Visibility Source Unit Parent
class public
FMX.Filter.Effects FMX.Filter.Effects


TFilterGloom is a wrapper for TGloomEffect.

FMX.Filter.Effects.TFilterGloom inherits from FMX.Filter.Effects.TGloomEffect. All content below this line refers to FMX.Filter.Effects.TGloomEffect.

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