FMX.Graphics.TBitmapData.GetPixel
Delphi
function GetPixel(const X, Y: Integer): TAlphaColor;
C++
System::Uitypes::TAlphaColor __fastcall GetPixel(const int X, const int Y);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | TBitmapData |
Description
Returns the color of a specified pixel.
The X
and Y
parameters specify the coordinates of the pixel within the bitmap data.
To set the color of a pixel, use SetPixel.