Class BaseGraphic.Grid

  • Enclosing class:
    BaseGraphic

    protected static class BaseGraphic.Grid
    extends java.lang.Object
    Class Grid represents width and height.
    • Constructor Summary

      Constructors 
      Constructor Description
      Grid​(int w, int h)
      Create instance of Grid.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getH()
      Get height.
      int getW()
      Get width.
      • Methods inherited from class java.lang.Object

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

      • Grid

        public Grid​(int w,
                    int h)
        Create instance of Grid.
        Parameters:
        w - width
        h - height
    • Method Detail

      • getW

        public int getW()
        Get width.
        Returns:
        width
      • getH

        public int getH()
        Get height.
        Returns:
        height