Class Dim

All Implemented Interfaces:
Serializable, Cloneable

public class Dim extends Dimension
Dim, like BasePoint is a 2 dimensional class, however holding width and height instead of an X and Y value.

This could just as well be Dimension but come on now wheres the fun in using what java gives you already?

Author:
Lehlogonolo Poole
See Also:
  • Constructor Details

    • Dim

      public Dim(int width, int height)
      Default constructor
      Parameters:
      width - Given width
      height - Given height.
    • Dim

      public Dim(Dimension preferredSize)
      Constructor using Dimension
      Parameters:
      preferredSize - Given Dimension
  • Method Details