FMX.Filter.Effects.TMaskToAlphaEffect
Delphi
TMaskToAlphaEffect = class(TImageFXEffect)
C++
class PASCALIMPLEMENTATION TMaskToAlphaEffect : 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
TMaskToAlphaEffect is a class for creating an effect that converts a grayscale image to a white image that is masked by alpha.
TMaskToAlphaEffect affects the textures of visual objects. For further information, go to TImageFXEffect and FireMonkey Image Effects.
The following table shows the result of the TMaskToAlphaEffect effect on a grayscale .png picture, with transparent background and a color .png picture, with transparent background, placed on a form (using a TImage object).
No effect (original pictures) | Result |
---|---|