Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • 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 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.