Shape

This class captures the concepts of the shape of a rectangular graphical user interface item (e.g, a window object). Shape objects are used to describe the dimensions of the visible window of a Frame, and an area within a Frame's visible window.

[ Index | Source | Summary | Member Functions ]

Quick Index


Class Summary

class Shape
{

public:
Shape(int width, int height);
Shape();
int Height();
int Width();
}; // Shape

Back to the top of Shape


Shape(int width, int height);

Construct a Shape object with the specified width and height.

	Shape(int width, int height);	// specific shape

Back to the top of Shape


Shape();

Construct a Shape object with default height and width.

	Shape();         		// default shape

Back to the top of Shape


int Height();

Return the current height of the Shape object.

     int Height();              	// return height

Back to the top of Shape


int Width();

Return the current width of the Shape object.

     int Width();               	// return width

Back to the top of Shape


Member Functions

public:
int Height();
int Width();

Back to the top of Shape


Generated from source by the Cocoon utilities on Thu Apr 02 12:39:41 1998 .

Report problems to jkotula@unimax.com