Vcl.Direct2D.TDirect2DCanvas.GetPixel
Delphi
function GetPixel(X, Y: Integer): TColor; override;
C++
virtual System::Uitypes::TColor __fastcall GetPixel(int X, int Y);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Direct2D.pas Vcl.Direct2D.hpp |
Vcl.Direct2D | TDirect2DCanvas |
Description
Represents the getter method of the Pixels property.
GetPixel is called each time the color of a pixel in the Pixels property is being read.
Warning: GetPixel raises an exception. TDirect2DCanvas does not support Pixels.