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.
Author:
Ronald Brill
  • 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.