Class GDimension

This class encapsulates a size containing a width and a height.


Constructor Summary
GDimension(width, height)
Constructs a new dimension object with the specified components.
 
Method Summary
getHeight()
Returns the height of this GDimension.
getWidth()
Returns the width of this GDimension.
 

Constructor Detail

GDimension(width, height)

Constructs a new dimension object with the specified components.
Usage: dim = GDimension(width, height) 
Parameters: 
width  The width of the dimension object
height  The height of the dimension object
 


Method Detail

getHeight()

Returns the height of this GDimension.
Usage: height = dim.getHeight() 
Returns: The height of this GDimension
 


getWidth()

Returns the width of this GDimension.
Usage: width = dim.getWidth() 
Returns: The width of this GDimension