the width for the newly created canvas
the height for the newly created canvas
The Canvas object that belongs to this CanvasRenderTarget.
A CanvasRenderingContext2D object representing a two-dimensional rendering context.
The resolution / device pixel ratio of the canvas
The height of the canvas buffer in pixels.
The height of the canvas buffer in pixels.
The width of the canvas buffer in pixels.
The width of the canvas buffer in pixels.
Clears the canvas that was created by the CanvasRenderTarget class.
Destroys this canvas.
Resizes the canvas to the specified width and height.
the new width of the canvas
the new height of the canvas
Generated using TypeDoc
Creates a Canvas element of the given size to be used as a target for rendering to.
PIXI.utils