public Rectangle (Point p)

Constructs a new Rectangle whose upper-left corner is the specified Point, and whose width and height are both zero.

Parameters:
p    a Point that is the top left corner of the Rectangle