FMX.Filter.Effects.TFilterToon

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TFilterToon = class(TFilterBaseFilter)

C++

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

TFilterToon is a wrapper for TToonEffect.

FMX.Filter.Effects.TFilterToon inherits from FMX.Filter.Effects.TToonEffect. All content below this line refers to FMX.Filter.Effects.TToonEffect.

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

FireMonkey logo NoEffects shadow.PNG

FireMonkey logo TToonEffect.PNG

See Also

Code Examples