Capture current frame of the canvas to the image.
Signature:
dumpScreen(width: number, height: number): void;| Parameter | Description |
|---|---|
| width | The dump image is in the same size of canvas. This parameter does not take effect. |
| height | Ditto. |
Returns:
void
The base64 encoded image blob.