FMX.Filter.Effects.TFilterRipple

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Filter.Effects.TFilterBaseFilterFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFilterRipple

Delphi

TFilterRipple = class(TFilterBaseFilter)

C++

class PASCALIMPLEMENTATION TFilterRipple : public TFilterBaseFilter

Properties

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

Description

TFilterRipple is a wrapper for TRippleEffect.

FMX.Filter.Effects.TFilterRipple inherits from FMX.Filter.Effects.TRippleEffect. All content below this line refers to FMX.Filter.Effects.TRippleEffect.

TRippleEffect is a class for creating an effect that superimposes rippling waves upon the texture of visual objects.

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

The center of the ripples is specified through the Center property. The ripples' aspect can be customized through the Amplitude, AspectRatio, and Phase properties. The amount of ripples is set through the Frequency property.

The following table shows the result of the TRippleEffect effect on a .png picture, placed on a form (using a TImage object). The Center of the ripples is set in the middle of the image. The rest of the TRippleEffect properties are used with their default values (Amplitude=0.1, AspectRatio=1.5, Frequency=70, Phase=0).

No effect (original picture) Result

FireMonkey logo NoEffects shadow.PNG

FireMonkey logo TRippleEffect.PNG

See Also

Code Examples