FMX.Filter.Effects.TToonEffect

From RAD Studio API Documentation

Error: Image is invalid or non-existent.

Delphi

TToonEffect = class(TImageFXEffect)

C++

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

TToonEffect is a class for creating an effect that applies cartoon-like shading to the texture of visible objects.

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

TToonEffect cartoons the object texture by decreasing the levels of color used in the texture. The numbers of the levels can be set through the Levels property.

The following table shows the result of the TToonEffect effect on a .png picture, placed on a form (using a TImage object). The default value (Levels=5) is used for the Levels property.

No effect (original picture) Result

Error creating thumbnail: Unable to save thumbnail to destination

Error creating thumbnail: Unable to save thumbnail to destination

See Also

Code Examples