transparent : boolean Whether the render view is transparent Source code:
width : number The width of the canvas view Default Value
new CanvasRenderer(game) The CanvasRenderer draws the Stage and all its content onto a 2d canvas. This renderer should be used for browsers
renderSession : Object The render session is just a bunch of parameter used for rendering
height : number The height of the canvas view Default Value
clearBeforeRender : boolean This sets if the CanvasRenderer will clear the canvas or not before the new render pass.If the
view :HTMLCanvasElement The canvas element that everything is drawn to. Source
game :PhaserGame Source code:
Page 2 of 2