Class Hexagon

All Implemented Interfaces:
Shape

public class Hexagon extends Polygon
  • Constructor Details

    • Hexagon

      public Hexagon(double cornerOffset)
  • Method Details

    • getPoints

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