Button#cropRect

cropRect : Phaser.Rectangle The Rectangle used to crop the texture this Game Object uses.Set this property via crop.If you modify this property directly you must call updateCrop in order to have the change take effect. Inherited From Phaser.Component.Crop#cropRect Source code: gameobjects/components/Crop.js (Line 24)

Graphics#beginFill()

beginFill(color, alpha) → {PIXI.Graphics} Specifies a simple one-color fill that subsequent calls to other Graphics methods(such as lineTo() or drawCircle()) use when drawing. Parameters Name Type Description color Number the color of the fill alpha Number the alpha of the fill Returns PIXI.Graphics - Inherited From PIXI.Graphics#beginFill Source code: pixi/primitives/Graphics.js (Line 491)

ScaleManager#isGamePortrait

[readonly] isGamePortrait : boolean Returns true if the game dimensions are portrait (height > width).This is especially useful to check when using the RESIZE scale modebut wanting to maintain game orientation on desktop browsers,where typically the screen orientation will always be landscape regardless of the browser viewport. Source code: core/ScaleManager.js (Line 2362)

BitmapData#shadow()

shadow(color, blur, x, y) → {Phaser.BitmapData} Sets the shadow properties of this BitmapDatas context which will affect all draw operations made to it.You can cancel an existing shadow by calling this method and passing no parameters.Note: At the time of writing (October 2014) Chrome still doesn't support shadowBlur used with drawImage. Parameters Name Type Argument Default Description color string The color of the shadow, given in a CSS format, i.e. #000000 or rgba(0,0,0,1). If null

Physics.P2.BodyDebug#physicsSortDirection

physicsSortDirection : integer If this Group contains Arcade Physics Sprites you can set a custom sort direction via this property. It should be set to one of the Phaser.Physics.Arcade sort direction constants: Phaser.Physics.Arcade.SORT_NONEPhaser.Physics.Arcade.LEFT_RIGHTPhaser.Physics.Arcade.RIGHT_LEFTPhaser.Physics.Arcade.TOP_BOTTOMPhaser.Physics.Arcade.BOTTOM_TOP If set to null the Group will use whatever Phaser.Physics.Arcade.sortDirection is set to. This is the default behavior. Inhe

Physics.Ninja.AABB#projAABB_22DegB()

projAABB_22DegB(x, y, obj, t) → {number} Resolves 22 Degree tile collision. Parameters Name Type Description x number Penetration depth on the x axis. y number Penetration depth on the y axis. obj Phaser.Physics.Ninja.AABB The AABB involved in the collision. t Phaser.Physics.Ninja.Tile The Tile involved in the collision. Returns number - The result of the collision. Source code: physics/ninja/AABB.js (Line 702)

Bullet#revive()

revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object back to life, optionally resetting its health value in the process. A resurrected Game Object has its alive, exists and visible properties all set to true. It will dispatch the onRevived event. Listen to events.onRevived for the signal. Parameters Name Type Argument Default Description health number <optional> 100 The health to give the Game Object. Only set if the GameObject has the Health component. Returns PI

FlexLayer#addAt()

addAt(child, index, silent) → {DisplayObject} Adds an existing object to this group. The child is added to the group at the location specified by the index value, this allows you to control child ordering. If Group.enableBody is set, then a physics body will be created on the object, so long as one does not already exist. If Group.inputEnableChildren is set, then an Input Handler will be created on the object, so long as one does not already exist. Parameters Name Type Argument Default Descr

Graphics#world

world : Phaser.Point The world coordinates of this Game Object in pixels.Depending on where in the display list this Game Object is placed this value can differ from position,which contains the x/y coordinates relative to the Game Objects parent. Inherited From Phaser.Component.Core#world Source code: gameobjects/components/Core.js (Line 211)

Button#removeChildren()

removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes. Parameters Name Type Description beginIndex Number The beginning position. Default value is 0. endIndex Number The ending position. Default value is size of the container. Inherited From PIXI.DisplayObjectContainer#removeChildren Source code: pixi/display/DisplayObjectContainer.js (Line 213)