Interface IDimension

All Known Subinterfaces:
IAdvancedDimension, IRectangle
All Known Implementing Classes:
DimensionImpl, RectangleImpl

public interface IDimension
The Interface IDimension.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the height.
    int
    Gets the width.
    void
    setHeight(int height)
    Sets the height.
    void
    setWidth(int width)
    Sets the width.
  • Method Details

    • getWidth

      int getWidth()
      Gets the width.
      Returns:
      the width of this dimension
    • setWidth

      void setWidth(int width)
      Sets the width.
      Parameters:
      width - the new width of this dimension
    • getHeight

      int getHeight()
      Gets the height.
      Returns:
      the height of this dimension
    • setHeight

      void setHeight(int height)
      Sets the height.
      Parameters:
      height - the new height of this dimension