Package net.sf.jaxodraw.object.arrow
Class JaxoArrow.Coordinates
java.lang.Object
net.sf.jaxodraw.object.arrow.JaxoArrow.Coordinates
- Enclosing interface:
- JaxoArrow
The coordinates of an arrow.
An arrow is something that has a location and a direction.
-
Constructor Summary
ConstructorsConstructorDescriptionCoordinates
(double x, double y, double angle) Construct a set of coordinates. -
Method Summary
-
Constructor Details
-
Coordinates
public 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 Details
-
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.
-