FMX.Filter.Effects.TBandsEffect

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TBandsEffect = class(TImageFXEffect)

C++

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

TBandsEffect is a class for creating an effect that creates bands of bright regions from the texture of visual objects.

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

The density of the bands can be set through the BandDensity property. The intensity of the bands can be set through the BandIntensity property. If BandIntensity is set to 0, TBandsEffect has no visual effect. If BandDensity is set to 1, the image brightness gradually increases from the left edge to the right edge, until it reaches the BandIntensity value.

The following table shows the result of the TBandsEffect effect on a .png picture, placed on a form (using a TImage object). The TBandsEffect properties are used with their default values (BandIntensity=0.2, BandDensity=65).

No effect (original picture) Result

FireMonkey logo NoEffects shadow.PNG

FireMonkey logo TBandsEffect.PNG

See Also

Code Examples