Vcl.Graphics.TCanvas.GetPixel

From RAD Studio API Documentation
Jump to: navigation, search

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.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TCanvas

Description

Represents the getter method for the Pixels property.

GetPixel is called each time the color of a pixel in the Pixels property is read.

See Also