Point.Point
Class Overview | Class Members |
This Package |
All Packages
public Point()
Parameters
- x
- the x coordinate.
- y
- the y coordinate.
Description
Constructs and initializes a point at the origin
(0, 0) of the coordinate space.
public Point( Point p )
Parameters
- p
- a point.
Description
Constructs and initializes a point with the same location as
the specified Point object.
public Point( int x,
int y )
Parameters
- x
- the x coordinate.
- y
- the y coordinate.
Description
Constructs and initializes a point at the specified
(x, y) location in the coordinate space.