FMX.Filter.Effects.TRippleEffect
Delphi
TRippleEffect = class(TImageFXEffect)
C++
class PASCALIMPLEMENTATION TRippleEffect : 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
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 |
---|---|