Shape interface provides definitions for objects that represent some form of geometric shape.
Dimension class encapsulates the width and height of a component (in integer precision) in a single object.
(x,y) coordinate space, specified in integer precision.
Rectangle specifies an area in a coordinate space that is enclosed by the
Rectangle object's upper-left point
(x,y) in the coordinate space, its width, and its height.