Package com.axemble.vdoc.sdk.structs
Class Dimension
java.lang.Object
com.axemble.vdoc.sdk.structs.Dimension
Simple structure representing the dimension of an object.
- Since:
- 2.0, 02/12/2010
- Version:
- 1.0
- Author:
- fedom
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Dimension
public Dimension(int width, int height) Construct and initializes a dimension.- Parameters:
width
-height
-
-
-
Method Details
-
getWidth
public int getWidth()Gets the width of the design object- Returns:
- The width as an int value.
-
setWidth
public void setWidth(int width) Sets the width of the design object.- Parameters:
width
- The width to set.
-
getHeight
public int getHeight()Gets the height of the design object.- Returns:
- The height as an int value.
-
setHeight
public void setHeight(int height) Sets the height of the design object.- Parameters:
height
- The height to set.
-