|
This class encapsulates a location combining an x and a y coordinate.
Constructor Summary | |
---|---|
GPoint(x, y)
GPoint with the specified coordinates. |
Method Summary | |
---|---|
getX()
GPoint . |
|
getY()
GPoint . |
Constructor Detail |
---|
GPoint(x, y)
GPoint
with the specified coordinates.
Usage: | pt = GPoint(x, y) | ||||
Parameters: |
|
Method Detail |
---|
getX()
GPoint
.
Usage: | x = pt.getX() |
Returns: | The x coordinate of this GPoint
|
getY()
GPoint
.
Usage: | y = pt.getY() |
Returns: | The y coordinate of this GPoint
|
|