<class>
Provides a prototype for all objects of that class

Usage

A class describes the state and behavior that all objects of that class share. An object of a given class is called an instance of that class.

The following example defines the class Hello, and instantiates myHello (an instance of that class).

<canvas width="100%" height="50">
	<class name="Hello" width="80" height="25" bgcolor="#CFD9AB">
		<text align="center" valign="middle">Hello, World!</text>
	</class>
	
	<Hello name="myHello"/>
</canvas>

For a complete description of classes and how you use them, see the following chapters in the Developers Guide: