Class Hexagon

  • All Implemented Interfaces:
    Shape

    public class Hexagon
    extends Polygon
    • Constructor Summary

      Constructors 
      Constructor Description
      Hexagon​(double cornerOffset)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.awt.geom.Point2D[] getPoints​(double x, double y, double width, double height)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Hexagon

        public Hexagon​(double cornerOffset)
    • Method Detail

      • getPoints

        protected java.awt.geom.Point2D[] getPoints​(double x,
                                                    double y,
                                                    double width,
                                                    double height)
        Specified by:
        getPoints in class Polygon