property PixelPtr[X, Y: Integer]: PColor32; // read-only


Converts coordinates of a pixel to its address in memory. Since TBitmap32 uses 32-bit DIBs, its memory is allocated as continuous string of 4-byte TColor32 values, starting at the top left corner.

Pixel with (0, 0) coordinates has the same address as specified in Bits property.

See Also

TCustomBitmap32, Bits, Pixel, ScanLine, Color Types