Vcl.Imaging.pngimage.TPngImage.TransparencyMode
Delphi
property TransparencyMode: TPNGTransparencyMode read GetTransparencyMode;
C++
__property TPNGTransparencyMode TransparencyMode = {read=GetTransparencyMode, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Imaging.pngimage.pas Vcl.Imaging.pngimage.hpp |
Vcl.Imaging.pngimage | TPngImage |
Description
Specifies the transparency mode used by the png image.
Use TransparencyMode to determine what transparency mode the png image uses. The value of TransparencyMode depends on whether the image supplies alpha channel information or a transparent color is specified. The following table lists the possible values and their meaning.
Value | Meaning |
---|---|
ptmNone |
The png image does not support transparency. |
ptmBit |
The png image supports bit transparency. This value is used if the png image has no alpha channel information, but defines a transparent color. |
ptmPartial |
The png image supports partial transparency. This value is used if the image supplies alpha channel information. |