dk.vajhoej.model.graphic.base
Class BaseGraphic.Grid

java.lang.Object
  extended by dk.vajhoej.model.graphic.base.BaseGraphic.Grid
Enclosing class:
BaseGraphic

protected static class BaseGraphic.Grid
extends java.lang.Object

Class Grid represents width and height.


Constructor Summary
BaseGraphic.Grid(int w, int h)
          Create instance of Grid.
 
Method Summary
 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

BaseGraphic.Grid

public BaseGraphic.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