paintOverlay

abstract fun paintOverlay(scope: PaintScope)(source)

Paints this node's overlay in local coordinates on the owning tree thread after its effective descendants.

The scope is valid only for the duration of this callback. Access after return or from another thread fails. If a callback or scope operation throws after pipeline work begins, the owning tree is poisoned and cleanup is attempted. This happens only when the exception escapes this callback.

Parameters

scope

the local command collector.