swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters
width : number The width of the displayObjectContainer, setting this will actually modify the scale to achieve the value set
canvasBuffer :PIXICanvasBuffer The CanvasBuffer object that the tiled texture is drawn to.
texture : PIXI.Texture The texture of the
blendMode : number The blend mode to be applied to the sprite. Set to PIXI.blendModes.NORMAL to remove any blend mode.
generateTexture(resolution, scaleMode, padding)
preserveDrawingBuffer : boolean The value of the preserveDrawingBuffer flag affects whether or not the contents of the stencil
crop :Rectangle This is the area of the BaseTexture image to actually copy to the Canvas / WebGL when rendering,irrespective
render(root) Renders the DisplayObjectContainer, usually the Phaser.Stage, to this canvas view. Parameters
height : number The height of the displayObjectContainer, setting this will actually modify the scale to achieve the value set
Page 7 of 29