rectangle.outset

Syntax rectangle.outset (rect, dh, dv)

Params rect is a rectangle object.

dh is the number of pixels by which to increase the width of rect.

dv is the number of pixels by which to increase the height of rect.

Action Increases the size of rect.

Returns The four coordinates of the new rectangle

Examples rectangle.outset (examples.windowat, 10, 10)
» 0, 20, 120, 240

The rectangle starts out with values of 10, 30, 110, 230.

See Also rectangle.inset

Discuss