Class XY

java.lang.Object
   |
   +----XY

class XY
extends Object
This class implements a pair of floating-point coordinates.


Variable Index

 o x
x - coordinate
 o y
y - coordinate

Constructor Index

 o XY(float, float)
Constructs a coordinate pair.

Method Index

 o toString()
Converts the coordinate pair to string.

Variables

 o x
 protected float x
x - coordinate

 o y
 protected float y
y - coordinate

Constructors

 o XY
 public XY(float x,
           float y)
Constructs a coordinate pair.

Parameters:
x, - y coordinates

Methods

 o toString
 public String toString()
Converts the coordinate pair to string.

Overrides:
toString in class Object