getPixels(rect) → {ImageData}
Gets all the pixels from the region specified by the given Rectangle object.
Parameters
Name | Type | Description |
---|---|---|
rect | Phaser.Rectangle | The Rectangle region to get. |
Returns
ImageData -
Returns a ImageData object containing a Uint8ClampedArray data property.
- Source code: gameobjects/BitmapData.js (Line 1055)
Please login to continue.