Interface PointFigure

    • Method Detail

      • getX

        double getX()
        Returns:
        The X-coordinate of the current location in model coordinates.
      • getY

        double getY()
        Returns:
        The Y-coordinate of the current location in model coordinates.
      • getLocation

        Point2D getLocation()
        Returns:
        The current location in model coordinates.
      • setLocation

        void setLocation​(Point2D location)
        Parameters:
        location - The current location in model coordinates.
      • getSymbol

        Symbol getSymbol()
        Returns:
        The symbol that is used to represent the figure.