Class Octagon

All Implemented Interfaces:
Shape

public class Octagon extends Polygon
  • Constructor Details

    • Octagon

      public Octagon(double cornerOffset)
  • Method Details

    • getPoints

      protected Point2D[] getPoints(double x, double y, double width, double height)
      Specified by:
      getPoints in class Polygon