Class IntDimension2D

java.lang.Object
org.htmlunit.platform.geom.IntDimension2D

public class IntDimension2D extends Object
Simple data container because Dimension2D is not available on Android.
  • Field Details

    • width_

      private final int width_
    • height_

      private final int height_
  • Constructor Details

    • IntDimension2D

      public IntDimension2D(int width, int height)
      Constructor.
      Parameters:
      width - the width
      height - the height
  • Method Details

    • getWidth

      public int getWidth()
      Returns:
      the width of this as integer.
    • getHeight

      public int getHeight()
      Returns:
      the height of this as integer.