The parent of the Canvas object.
Optionalwidth: numberThe width of the Canvas. Default 1.
Optionalheight: numberThe height of the Canvas. Default 1.
OptionalcanvasType: numberThe type of the Canvas. Either Phaser.CANVAS or Phaser.WEBGL. Default Phaser.CANVAS.
OptionalselfParent: booleanUse the generated Canvas element as the parent? Default false.
Creates a new Canvas DOM element, or pulls one from the pool if free.