From RAD Studio API Documentation
Jump to: navigation, search



TFilterBands = class(TFilterBaseFilter)


class PASCALIMPLEMENTATION TFilterBands : public TFilterBaseFilter


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


TFilterBands is a wrapper for TBandsEffect.

FMX.Filter.Effects.TFilterBands inherits from FMX.Filter.Effects.TBandsEffect. All content below this line refers to FMX.Filter.Effects.TBandsEffect.

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