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 Nov 01 2013 18:16:08 GMT-0000 (GMT) using the DocStrap template.