Interface RotatableDecoration

All Superinterfaces:
IFigure
All Known Implementing Classes:
PolygonDecoration, PolylineDecoration

public interface RotatableDecoration extends IFigure
An IFigure that can be rotated.
  • Method Details

    • setLocation

      void setLocation(Point p)
      Sets the location of this figure.
      Specified by:
      setLocation in interface IFigure
      Parameters:
      p - The location
    • setReferencePoint

      void setReferencePoint(Point p)
      Sets the reference point used to determine the rotation angle.
      Parameters:
      p - The reference point