FMX.Filter.Effects.TSepiaEffect
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 |
---|---|
See Also
Code Examples
- FireMonkey Shader Filters sample
- FireMonkey Image Filters sample