FMX.Filter.Effects.TFilterSepia
Delphi
TFilterSepia = class(TFilterBaseFilter)
C++
class PASCALIMPLEMENTATION TFilterSepia : 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
TFilterSepia is a wrapper for TSepiaEffect.
FMX.Filter.Effects.TFilterSepia inherits from FMX.Filter.Effects.TSepiaEffect. All content below this line refers to FMX.Filter.Effects.TSepiaEffect.
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