Vcl.Imaging.pngimage.TPngImage.Pixels

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

property Pixels[const X, Y: Integer]: TColor read GetPixels write SetPixels;

C++

__property System::Uitypes::TColor Pixels[const int X][const int Y] = {read=GetPixels, write=SetPixels};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Imaging.pngimage.pas
Vcl.Imaging.pngimage.hpp
Vcl.Imaging.pngimage TPngImage

Description

Specifies the color of a pixel in the image.

Use the Pixels property to check or set the color of a specified pixel in the png image. The coordinates of the pixel are given by the X and Y parameters. Pixels can be used to manipulate pixels directly, without using the Canvas property.

See Also