toPixels

Returns pixel array (as premultiplied ARGB colors packed in integers) that represents the canvas content.