Image#alignIn()

alignIn(container, position, offsetX, offsetY) → {Object} Aligns this Game Object within another Game Object, or Rectangle, known as the'container', to one of 9 possible positions. The container must be a Game Object, or Phaser.Rectangle object. This can include propertiessuch as World.bounds or Camera.view, for aligning Game Objects within the worldand camera bounds. Or it can include other Sprites, Images, Text objects, BitmapText,TileSprites or Buttons. Please note that aligning a Sprite t

Image#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)

Image#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)

Group.SORT_DESCENDING

[static] SORT_DESCENDING : integer A sort ordering value, as specified in sort eg. Source code: core/Group.js (Line 339)

Group.SORT_ASCENDING

[static] SORT_ASCENDING : integer A sort ordering value, as specified in sort eg. Source code: core/Group.js (Line 332)

Group.RETURN_TOTAL

[static] RETURN_TOTAL : integer A returnType value, as specified in iterate eg. Source code: core/Group.js (Line 311)

Group.RETURN_NONE

[static] RETURN_NONE : integer A returnType value, as specified in iterate eg. Source code: core/Group.js (Line 304)

Group.RETURN_CHILD

[static] RETURN_CHILD : integer A returnType value, as specified in iterate eg. Source code: core/Group.js (Line 318)

Group.RETURN_ALL

[static] RETURN_ALL : integer A returnType value, as specified in iterate eg. Source code: core/Group.js (Line 325)

Group#z

[readonly] z : integer The z-depth value of this object within its parent container/Group - the World is a Group as well.This value must be unique for each child in a Group. Source code: core/Group.js (Line 57)