Phaser API Documentation

  Version: 
getCanvas()

Description:

Gets the Canvas Element.

Returns:
Description:

The Canvas DOM element this texture is using.

Type:
  • HTMLCanvasElement
Examples:
Since: 3.7.0