TBackend.Bits

property Bits: PColor32Array; // Read-only

type TColor32Array = array [0..0] of TColor32;

type PColor32Array = ^TColor32Array;

Description

The bits property contains the address of the first (top-left) pixel in the back-end's surface. If the bitmap is not allocated (width or height is zero), the returned address is nil.

Subclassed back-ends need to set the protected member FBits to the of beginning of the surfaces memory. This is done InitializeSurface.

 

See Also

InitializeSurface, TCustomBitmap32.Bits, Color Types