Vcl.Imaging.pngimage.TPngImage.AlphaScanline
Delphi
property AlphaScanline[const Index: Integer]: pByteArray read GetAlphaScanline;
C++
__property pByteArray AlphaScanline[const int Index] = {read=GetAlphaScanline};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Imaging.pngimage.pas Vcl.Imaging.pngimage.hpp |
Vcl.Imaging.pngimage | TPngImage |
Description
Reads a scan line containing the alpha channel at a specified index.
Use AlphaScanline to retrieve the scan line that contains the alpha channel from a specified index. An alpha scan line is a row of alpha values associated with each pixel in the image rectangle. AlphaScanline returns a pointer to the memory holding that row.
AlphaScanline can only return the scan line if the image contains alpha channel information.