Package org.htmlunit.platform.geom
Class IntDimension2D
java.lang.Object
org.htmlunit.platform.geom.IntDimension2D
Simple data container because Dimension2D is not available on Android.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
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 widthheight
- 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.
-