expand


Description:

[ Version ( since = "1.4" ) ]
public Rect expand (Point p)

Expands a Rect to contain the given Point.

Parameters:

this

a Rect

p

a Point

res

return location for the expanded rectangle