render

fun render(display: GraphicalDisplay, background: Int = 0): Boolean(source)

Repaint only the damaged region, including overlapping widgets in their original order. Owns the background in bounds. An unchanged UI makes no display calls and opens no frame. Custom animations call their widget's invalidate(); failures leave damage pending for retry. Use draw() instead when the caller owns a larger composition and its frame lifecycle.