Rect Rect(
number
$x, number
$y, number
$w, number
$h
)
|
|
Creates a new Rect object.
Parameters:
|
number |
$x: |
The upper left corner X co-ordinate. |
|
number |
$y: |
The upper left corner Y co-ordinate. |
|
number |
$w: |
The width of the Rect. |
|
number |
$h: |
The height of the Rect. |
Rect Grow(
[int
$v = 1]
)
|
|
Expands the Rect by the specified number of pixels.
Parameters:
|
int |
$v: |
The number of pixels to expand the Rect by. |
Rect Shrink(
[int
$v = 1]
)
|
|
Srinks the Rect by the specified number of pixels.
Parameters:
|
int |
$v: |
The number of pixels to shrink the Rect by. |