readPixels method
void
readPixels(])
Implementation
void readPixels(int x, int y, int width, int height, int format, int type,
[dynamic dstData, int? dstOffset]) =>
js_util.callMethod(this, 'readPixels',
[x, y, width, height, format, type, dstData, dstOffset]);