net.sf.jaxodraw.object.arrow
Class JaxoArrow.Coordinates

java.lang.Object
  extended by net.sf.jaxodraw.object.arrow.JaxoArrow.Coordinates
Enclosing interface:
JaxoArrow

public static class JaxoArrow.Coordinates
extends Object

The coordinates of an arrow. An arrow is something that has a location and a direction.


Constructor Summary
JaxoArrow.Coordinates(double x, double y, double angle)
          Construct a set of coordinates.
 
Method Summary
 double getAngle()
          Return the angle of the arrow.
 double getX()
          Return the x position of the arrow.
 double getY()
          Return the y position of the arrow.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxoArrow.Coordinates

public JaxoArrow.Coordinates(double x,
                             double y,
                             double angle)
Construct a set of coordinates.

Parameters:
x - the x position of the arrow.
y - the y position of the arrow.
angle - the angle of the arrow.
Method Detail

getX

public double getX()
Return the x position of the arrow.

Returns:
the x position of the arrow.

getY

public double getY()
Return the y position of the arrow.

Returns:
the y position of the arrow.

getAngle

public double getAngle()
Return the angle of the arrow.

Returns:
the angle of the arrow.


Copyright © 2003-2011 The JaxoDraw team. All Rights Reserved.