DVIRectangle is a utility class which is used throughout IDVI instead of the class java.awt.Rectangle. Its main advantage is that it maintains a flag indicating whether it has ever been initialized. An uninitialized rectangle is considered to be completely empty. This is quite distinct from a rectangle which contains a single point but no pixel, or which contains a horizontal or vertical line of width zero.