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:
Copyright © 2002-2010 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.