<canvas width="500" height="150" bgcolor="green">
</canvas>
Displays a green canvas with those settings
<canvas width="500" height="150">
<window/>
</canvas>
Displays a window that has no body to it.
<canvas width="500" height="300">
<window x="20" y="20" width="200" height="250"/>
</canvas>
window with a body and positioning (x,y) top right in pixels
<canvas width="500" height="350">
<window x="20" y="20" width="200" height="250"
title="Simple Window" resizable="true" />
</canvas>
This window is resizable.
<canvas width="500" height="350">
<window x="20" y="20" width="200" height="250"
title="Simple Window" resizable="true">
<text>Here is some text.</text>
</window>
</canvas>
<canvas width="500" height="250">
<window x="20" y="20" width="200" height="250"
title="Simple Window" resizable="true">
<text x="10" y="10">Here is some text.</text>
<text x="10" y="50">I could ramble for hours.</text>
</window>
</canvas>
<canvas width="500" height="350">
<window x="20" y="20" width="200" height="250"
title="Simple Window" resizable="true">
<simplelayout axis="y" spacing="10" />
<text>Here is some text.</text>
<text>I could ramble for hours.</text>
</window>
</canvas>
Uses a layout that is vertically spaced by 10 pixels between siblings