> For the complete documentation index, see [llms.txt](https://osl.mistium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osl.mistium.com/graphics-osl-window/rendering/elements.md).

# Elements

Elements are the things you draw to the window each frame. Each is drawn at the current [draw cursor](/graphics-osl-window/rendering/draw-cursor.md) position with the active colour.

* [Rectangle](/graphics-osl-window/rendering/elements/rectangle.md) - the `square` command draws a filled/outlined box.
* [Icon](/graphics-osl-window/rendering/elements/icon.md) - draw an icon glyph.
* [Text](/graphics-osl-window/rendering/elements/text.md) - draw a line of text.
* [Image](/graphics-osl-window/rendering/elements/image.md) - draw an image from a URL.
