class-inheritance-$19.lzx
<canvas debug="true" width="100%">
<debug y="215"/>
<class name="one">
<view name="r" bgcolor="red" width="200" height="200"/>
</class>
<class name="two" extends="one">
<view name="g" bgcolor="green" width="100" height="100"/>
</class>
<class name="three" extends="two">
<view name="t" bgcolor="teal" width="50" height="50"/>
<view name="y" bgcolor="yellow" width="25" height="25"/>
</class>
<three id="mysubclass" oninit="Debug.debug('subviews: %w', this.subviews)"/>
</canvas>
Cross References
Classes
- <class name="one">
- <class name="two" extends="one">
- <class name="three" extends="two">
Named Instances