FMX.Filter.Effects.TSepiaEffect

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TSepiaEffect = class(TImageFXEffect)

C++

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

TSepiaEffect is a class for creating a sepia effect.

TSepiaEffect affects the texture of visual objects. For further information, go to TImageFXEffect and FireMonkey Image Effects.

The intensity of the sepia color applied over the texture can be set through the Amount property.

The following table shows the result of the TSepiaEffect effect on a .png picture, placed on a form (using a TImage object). The default value (Amount=0.5) is used to set the sepia amount.

No effect (original picture) Result

FireMonkey logo NoEffects shadow.PNG

FireMonkey logo TSepiaEffect.PNG

See Also

Code Examples