Class Dimension

java.lang.Object
com.axemble.vdoc.sdk.structs.Dimension

public class Dimension extends Object
Simple structure representing the dimension of an object.
Since:
2.0, 02/12/2010
Version:
1.0
Author:
fedom
  • Constructor Summary

    Constructors
    Constructor
    Description
    Dimension(int width, int height)
    Construct and initializes a dimension.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the height of the design object.
    int
    Gets the width of the design object
    void
    setHeight(int height)
    Sets the height of the design object.
    void
    setWidth(int width)
    Sets the width of the design object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.