PIXI.utils.trimCanvas
trimCanvas(canvas: HTMLCanvasElement) → {object}
Trim transparent borders from a canvas
Name | Type | Description |
---|---|---|
canvas | HTMLCanvasElement |
the canvas to trim |
Type | Description |
---|---|
object |
Trim data |