From RAD Studio API Documentation
Jump to: navigation, search



TFilterDirectionalBlur = class(TFilterBaseFilter)


class PASCALIMPLEMENTATION TFilterDirectionalBlur : public TFilterBaseFilter


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


TFilterDirectionalBlur is a wrapper for TDirectionalBlurEffect.

FMX.Filter.Effects.TFilterDirectionalBlur inherits from FMX.Filter.Effects.TDirectionalBlurEffect. All content below this line refers to FMX.Filter.Effects.TDirectionalBlurEffect.

TDirectionalBlurEffect is a class for creating an effect that blurs, using a directional blur algorithm, the texture of visible objects.

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

The direction of the blur can be changed using the Angle property, and the blur amount of the effect can be changed using the BlurAmount property.

The following table shows the results of and differences between blur effects on a .png picture (with transparent background) placed on a form (using a TImage object). For TDirectionalBlurEffect, in the following example, the Angle is set to 45 degrees.

No effect (original picture)

TBlurEffect | Softness=0.3

TRadialBlurEffect | BlurAmount=3

FireMonkey logo NoEffects.PNG

FireMonkey logo TBlurEffect.PNG

FireMonkey logo TRadialBlurEffect.PNG

TGaussianBlurEffect | BlurAmount=0.3

TBoxBlurEffect | BlurAmount=3

FireMonkey logo TGaussianBlurEffect.PNG

FireMonkey logo TBoxBlurEffect.png

TDirectionalBlurEffect | BlurAmount=3 Angle=45

TBlurTransitionEffect | Progress=30

FireMonkey logo TDirectionalBlurEffect.PNG

FireMonkey logo TBlurTransitionEffect.png

See Also

Code Examples