Dimension¶
The Dimension class encapsulates the height and width of a component.
Parameters: - width (int) – the width of the Dimension, in columns.
- height (int) – the height of the Dimension, in rows.
- dimension (Dimension, optional) – an existing Dimension from which to duplicate the height and width.