BitmapText#getBounds()

getBounds(targetCoordinateSpace) → {Rectangle} Retrieves the global bounds of the displayObjectContainer as a rectangle. The bounds calculation takes all visible children into consideration. Parameters Name Type Argument Description targetCoordinateSpace PIXIDisplayObject | PIXIMatrix <optional> Returns a rectangle that defines the area of the display object relative to the coordinate system of the targetCoordinateSpace object. Returns Rectangle - The rectangular bounding area

Rope#kill()

kill() → {PIXI.DisplayObject} Kills a Game Object. A killed Game Object has its alive, exists and visible properties all set to false. It will dispatch the onKilled event. You can listen to events.onKilled for the signal. Note that killing a Game Object is a way for you to quickly recycle it in an object pool,it doesn't destroy the object or free it up from memory. If you don't need this Game Object any more you should call destroy instead. Returns PIXI.DisplayObject - This instance. I

Point#divide()

divide(x, y) → {Phaser.Point} Divides Point.x and Point.y by the given x and y values. Parameters Name Type Description x number The value to divide Point.x by. y number The value to divide Point.x by. Returns Phaser.Point - This Point object. Useful for chaining method calls. Source code: geom/Point.js (Line 154)

Line.intersectsPoints()

<static> intersectsPoints(a, b, e, f, asSegment, result) → {Phaser.Point} Checks for intersection between two lines as defined by the given start and end points.If asSegment is true it will check for line segment intersection. If asSegment is false it will check for line intersection.Returns the intersection segment of AB and EF as a Point, or null if there is no intersection.Adapted from code by Keith Hair Parameters Name Type Argument Default Description a Phaser.Point The sta

FlexGrid#createFixedLayer()

createFixedLayer(children) → {Phaser.FlexLayer} A fixed layer is centered on the game and is the size of the required dimensions and is never scaled. Parameters Name Type Argument Description children Array.<PIXI.DisplayObject> <optional> An array of children that are used to populate the FlexLayer. Returns Phaser.FlexLayer - The Layer object. Source code: core/FlexGrid.js (Line 194)

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

TileSprite#ignoreChildInput

ignoreChildInput : boolean If ignoreChildInput is false it will allow this objects children to be considered as valid for Input events. If this property is true then the children will not be considered as valid for Input events. Note that this property isn't recursive: only immediate children are influenced, it doesn't scan further down. Inherited From PIXI.DisplayObjectContainer#ignoreChildInput Source code: pixi/display/DisplayObjectContainer.js (Line 26)

World#getAt()

getAt(index) → {DisplayObject | integer} Returns the child found at the given index within this group. Parameters Name Type Description index integer The index to return the child from. Returns DisplayObject | integer - The child that was found at the given index, or -1 for an invalid index. Inherited From Phaser.Group#getAt Source code: core/Group.js (Line 524)

Creature#reset()

reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object. This moves the Game Object to the given x/y world coordinates and sets fresh, exists,visible and renderable to true. If this Game Object has the LifeSpan component it will also set alive to true and health to the given value. If this Game Object has a Physics Body it will reset the Body. Parameters Name Type Argument Default Description x number The x coordinate (in world space) to position the Game Object at. y number

Color.getWebRGB()

<static> getWebRGB(color) → {string} Returns a CSS friendly string value from the given color. Parameters Name Type Description color number | Object Color in RGB (0xRRGGBB), ARGB format (0xAARRGGBB) or an Object with r, g, b, a properties. Returns string - A string in the format: 'rgba(r,g,b,a)' Source code: utils/Color.js (Line 908)