Vcl.Graphics.TCustomCanvas.GetPixel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetPixel(X, Y: Integer): TColor; virtual; abstract;

C++

virtual System::Uitypes::TColor __fastcall GetPixel(int X, int Y) = 0 ;

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TCustomCanvas

Description

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.

See Also