Package net.sf.jaxodraw.object.arrow
Class JaxoArrow.Coordinates
- java.lang.Object
-
- net.sf.jaxodraw.object.arrow.JaxoArrow.Coordinates
-
- Enclosing interface:
- JaxoArrow
public static class JaxoArrow.Coordinates extends java.lang.Object
The coordinates of an arrow. An arrow is something that has a location and a direction.
-
-
Constructor Summary
Constructors Constructor Description Coordinates(double x, double y, double angle)
Construct a set of coordinates.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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.
-
-