Skip to content

PixelUI.FreeDraw

Extends: PixelUI.Widget

A raw drawing surface that exposes ShrekBox layers for custom rendering. Useful for advanced visualisations or integrating bespoke ASCII art.

Properties

NameTypeDescription
onDrawfun(self:PixelUI.FreeDraw,
clearbooleanWhether to clear the region before drawing

Methods

new

lua
new()

setOnDraw

lua
setOnDraw()

setClear

lua
setClear()

draw

lua
draw()

Released under the MIT License.