RootOverlayPaintScope

Collects screen-coordinate commands for one root overlay.

size is the complete root viewport and anchorBounds identifies the placed node requesting the overlay. The scope has the same callback lifetime, owner-thread, and failure contract as PaintScope.

Properties

Link copied to clipboard
abstract val anchorBounds: IntRect

Placed half-open bounds of the requesting node in root coordinates.

Link copied to clipboard
abstract val size: IntSize

The node's measured size.

Functions

Link copied to clipboard
abstract fun blitImage(image: DrawImage, source: IntRect, localDestination: IntRect)

Adds a local image blit command.

Link copied to clipboard
abstract fun drawPlatform(command: PlatformDrawCommand, localBounds: IntRect)

Adds one opaque platform draw command at a local half-open rectangle.

Link copied to clipboard
abstract fun fillRectangle(localBounds: IntRect, color: ArgbColor)

Adds a local fill command.