Pixel.Receiver Type

Pixel.Receiver = (pixels: Pixel.Buffer) => void

A function which receives the results of a call to readPixels.

@note The contents of the buffer become invalid once the Receiver function returns. Do not store a reference to it.

Defined in

Last Updated: 28 October, 2024