Package com.macrofocus.common.geom

# Class Dimension

java.lang.Object
com.macrofocus.common.geom.Dimension

All Implemented Interfaces:
  `Dimension2D`

public class Dimension extends Object implements Dimension2D

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface com.macrofocus.common.geom.Dimension2D

  `Dimension2D.Double`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `int`
  `height`
  `int`
  `width`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Dimension()`
  `Dimension(int width, int height)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `double`
  `getHeight()`
  `double`
  `getWidth()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### width

    public int width

  - ### height

    public int height

- ## Constructor Details

  - ### Dimension

    public Dimension()

  - ### Dimension

    public Dimension(int width, int height)

- ## Method Details

  - ### getWidth

    public double getWidth()
    Specified by:
      `getWidth` in interface `Dimension2D`

  - ### getHeight

    public double getHeight()
    Specified by:
      `getHeight` in interface `Dimension2D`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`