Phaser API Documentation

  Version: 
getContext()

Description:

Gets the 2D Canvas Rendering Context.

Returns:
Description:

The Canvas Rendering Context this texture is using.

Type:
  • CanvasRenderingContext2D
Since: 3.7.0