PaintNode

interface PaintNode(source)

A node that emits local drawing commands.

One successful callback produces the node's complete local display list. The runtime retains that list until paint invalidation and combines it with the node's current accumulated bounds on each paint pass.

Functions

Link copied to clipboard
abstract fun paint(scope: PaintScope)

Paints this node in local coordinates on the owning tree thread.