Usage
$getPixels[;;;;;] Also callable as
$getImageData Arguments
| Name | Type | Required | Description |
|---|---|---|---|
canvas | String | No | Name of the canvas |
x | Number | Yes | The X coordinate of the top-left corner of the rectangle from which the pixel colors will be extracted |
y | Number | Yes | The Y coordinate of the top-left corner of the rectangle from which the pixel colors will be extracted |
width | Number | Yes | The width of the rectangle from which the pixel colors will be extracted |
height | Number | Yes | The height of the rectangle from which the pixel colors will be extracted |
type | No | The pixels (image data) content type |