From RAD Studio API Documentation
Jump to: navigation, search



TFilterSwirl = class(TFilterBaseFilter)


class PASCALIMPLEMENTATION TFilterSwirl : public TFilterBaseFilter


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


TFilterSwirl is a wrapper for TSwirlEffect.

FMX.Filter.Effects.TFilterSwirl inherits from FMX.Filter.Effects.TSwirlEffect. All content below this line refers to FMX.Filter.Effects.TSwirlEffect.

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