Vcl.Imaging.pngimage.TPngImage.GetPixels

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

function GetPixels(const X, Y: Integer): TColor; virtual;

C++

virtual System::Uitypes::TColor __fastcall GetPixels(const int X, const int Y);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Imaging.pngimage.pas
Vcl.Imaging.pngimage.hpp
Vcl.Imaging.pngimage TPngImage

Description

Returns the color of a specified pixel.

Call GetPixels to read the color of a pixel in the png image. The coordinates of the read pixel are given by the X and Y parameters. If the pixel at the specified position is not found, 0 is returned.

See Also