the width for the newly created canvas
the height for the newly created canvas
Optional
resolution: numberThe resolution / device pixel ratio of the canvas
Protected
_Protected
_The resolution / device pixel ratio of the canvas
The Canvas object that belongs to this CanvasRenderTarget.
A CanvasRenderingContext2D object representing a two-dimensional rendering context.
Creates a Canvas element of the given size to be used as a target for rendering to.
Memberof
PIXI.utils