size(width, [height])
Class: Rectangle.
Description:
Sets or gets the size of the Rectangle.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
number | Size |
Width of the Rectangle, or a |
|
|
number |
Height of the Rectangle. |
Returns:
If called without parameters, current size is returned; otherwise this Rectangle object is returned.
