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
get_height()
Returns the height of this GDimension.
get_width()
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

get_height()

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


get_width()

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