API: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 for the Pixels property.
Vcl.Direct2D.TDirect2DCanvas.GetPixel inherits from Vcl.Graphics.TCustomCanvas.GetPixel. All content below this line refers to Vcl.Graphics.TCustomCanvas.GetPixel.
Represents the getter method for the Pixels property.
GetPixel is an abstract method that must be implemented in descending classes. GetPixel is called each time the color of a pixel in the Pixels property is read.