Global

Methods

bottom() → {number}

The sum of the y and height properties. Changing the bottom property of a Rectangle object has no effect on the x, y and width properties, but does change the height property.

Source:
Returns:
Type
number

bottom(value)

The sum of the y and height properties. Changing the bottom property of a Rectangle object has no effect on the x, y and width properties, but does change the height property.

Parameters:
Name Type Description
value number
Source:

HEXtoRGB(hex) → {array}

Converts a hex color number to an [R, G, B] array

Parameters:
Name Type Description
hex number
Source:
Returns:
Type
array

The sum of the x and width properties. Changing the right property of a Rectangle object has no effect on the x, y and height properties. However it does affect the width property.

Source:
Returns:
Type
number

The sum of the x and width properties. Changing the right property of a Rectangle object has no effect on the x, y and height properties. However it does affect the width property.

Parameters:
Name Type Description
value number
Source:
Phaser Copyright © 2012-2013 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.0-dev on Fri Oct 25 2013 17:05:24 GMT+0100 (BST) using the DocStrap template.