Dimension (ZXing 3.5.0 API)

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 and Description
    `Dimension(int width, int height)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### Dimension

          public Dimension(int width,
                           int height)

  - ### Method Detail

    - #### 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`

Copyright © 2007–2022. All rights reserved.