Number
Number
Number
Number
Rectangle
Rectangle
Rectangle
Rectangle
Number
Get the Height
Kind: Instance method of Rectangle
Returns: Number
- the KEY_HEIGHT value
Number
Get the Width
Kind: Instance method of Rectangle
Returns: Number
- the KEY_WIDTH value
Number
Get the X
Kind: Instance method of Rectangle
Returns: Number
- the KEY_X value
Number
Get the Y
Kind: Instance method of Rectangle
Returns: Number
- the KEY_Y value
Rectangle
Set the Height
Kind: Instance method of Rectangle
Returns: Rectangle
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
height | Number |
The height of the rectangle - The desired Height. |
Rectangle
Set the Width
Kind: Instance method of Rectangle
Returns: Rectangle
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
width | Number |
The width of the rectangle - The desired Width. |