onRender

fun onRender(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>) -> Boolean): <Error class: unknown class>

Emitted when part of the surface needs to be redrawn.

Parameters

connectFlags

a combination of ConnectFlags

handler

the Callback to connect. Params: region the region that needs to be redrawn. Returns true to indicate that the signal has been handled