Strip#swapChildren()

swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters Name Type Description child DisplayObject - child2 DisplayObject - Inherited From PIXI.DisplayObjectContainer#swapChildren Source code: pixi/display/DisplayObjectContainer.js (Line 85)

Strip#texture

texture : PIXI.Texture The texture of the strip Source code: pixi/extras/Strip.js (Line 20)

Strip#width

width : number The width of the displayObjectContainer, setting this will actually modify the scale to achieve the value set Inherited From PIXI.DisplayObjectContainer#width Source code: pixi/display/DisplayObjectContainer.js (Line 571)

Text#addChild()

addChild(child) → {DisplayObject} Adds a child to the container. Parameters Name Type Description child DisplayObject The DisplayObject to add to the container Returns DisplayObject - The child that was added. Inherited From PIXI.DisplayObjectContainer#addChild Source code: pixi/display/DisplayObjectContainer.js (Line 42)

Text#addChildAt()

addChildAt(child, index) → {DisplayObject} Adds a child to the container at a specified index. If the index is out of bounds an error will be thrown Parameters Name Type Description child DisplayObject The child to add index Number The index to place the child in Returns DisplayObject - The child that was added. Inherited From PIXI.DisplayObjectContainer#addChildAt Source code: pixi/display/DisplayObjectContainer.js (Line 55)

Text#addColor()

addColor(color, position) → {Phaser.Text} Set specific colors for certain characters within the Text. It works by taking a color value, which is a typical HTML string such as #ff0000 or rgb(255,0,0) and a position.The position value is the index of the character in the Text string to start applying this color to.Once set the color remains in use until either another color or the end of the string is encountered.For example if the Text was Photon Storm and you did Text.addColor('#ffff00', 6) i

Text#addFontStyle()

addFontStyle(style, position) → {Phaser.Text} Set specific font styles for certain characters within the Text. It works by taking a font style value, which is a typical string such as normal, italic or oblique.The position value is the index of the character in the Text string to start applying this font style to.Once set the font style remains in use until either another font style or the end of the string is encountered.For example if the Text was Photon Storm and you did Text.addFontStyle(

Text#addFontWeight()

addFontWeight(style, position) → {Phaser.Text} Set specific font weights for certain characters within the Text. It works by taking a font weight value, which is a typical string such as normal, bold, bolder, etc.The position value is the index of the character in the Text string to start applying this font weight to.Once set the font weight remains in use until either another font weight or the end of the string is encountered.For example if the Text was Photon Storm and you did Text.addFont

Text#addStrokeColor()

addStrokeColor(color, position) → {Phaser.Text} Set specific stroke colors for certain characters within the Text. It works by taking a color value, which is a typical HTML string such as #ff0000 or rgb(255,0,0) and a position.The position value is the index of the character in the Text string to start applying this color to.Once set the color remains in use until either another color or the end of the string is encountered.For example if the Text was Photon Storm and you did Text.addColor('#

Text#align

align : string Controls the horizontal alignment for multiline text.Can be: 'left', 'center' or 'right'.Does not affect single lines of text. For that please see setTextBounds. Source code: gameobjects/Text.js (Line 1870)