FMX.Filter.Effects.TSwirlEffect

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TSwirlEffect = class(TImageFXEffect)

C++

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

TSwirlEffect is a class for creating an effect that swirls the texture of visual objects in a spiral.

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

The center of the swirl is specified through the Center property. The swirl aspect can be customized through the AspectRatio property. The amount of spiral winding can be set through the Strength property.

The following table shows the result of the TSwirlEffect effect on a .png picture, placed on a form (using a TImage object). The Center of the swirl is set in the middle of the image. The rest of the TSwirlEffect properties are used with their default values (AspectRatio=1.5, Strength=10).

No effect (original picture) Result

FireMonkey logo NoEffects shadow.PNG

FireMonkey logo TSwirlEffect.PNG

See Also

Code Examples