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
-
right() → {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.
- Source:
Returns:
- Type
- number
-
right(value)
-
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: