Interface PointFigure

All Superinterfaces:
Cloneable, Figure, Restorable
All Known Implementing Classes:
AbstractPointFigure, DefaultPointFigure

public interface PointFigure extends Figure
A point figure.

Clients should not implement this interface directly, because it may change in the future. Instead they should derive their Figure implementation from AbstractPointFigure.

Since:
Ceres 0.10
  • Method Details

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