Dimension (ZXing 3.5.2 API)
Description: declaration: package: com.google.zxing, class: Dimension

Package com.google.zxing

# Class Dimension

java.lang.Object
com.google.zxing.Dimension

public final class Dimension extends Object
Simply encapsulates a width and height.

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object other)`
  `int`
  `getHeight()`
  `int`
  `getWidth()`
  `int`
  `hashCode()`
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### Dimension

    public Dimension(int width, int height)

- ## Method Details

  - ### getWidth

    public int getWidth()

  - ### getHeight

    public int getHeight()

  - ### equals

    public boolean equals(Object other)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

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