Canvas

Class: Phaser.Canvas

Constructor

new Canvas()

The Canvas class handles everything related to creating the canvas DOM tag that Phaser will use,
including styles, offset and aspect ratio.

Source code: 登录查看完整内容