DrawCommand
A retained drawing command in accumulated tree coordinates.
Commands are returned in retained paint order, including explicit nested child clips and post-child overlays. A backend must execute the list in that order. Backends must intersect drawing with every active PushClip and PushFractionalClip until the matching PopClip. The core records these contracts without clipping, blending, or sampling pixels. Portable commands carry platform-neutral values, while the opt-in Platform variant preserves an opaque version-adapter payload without teaching core its type. Exhaustive backends must handle every variant, including SampledImage, or explicitly reject unsupported commands before producing output. A backend compiled against a smaller variant set can fail when it receives an unknown variant even when the older JVM members remain available.
Inheritors
Types
Samples an immutable image independently at every output pixel in a logical destination rectangle.
Fills a rectangle with one color.
Preserves an opaque platform payload at one tree-coordinate rectangle.
Ends the most recently begun child clip.
Begins clipping subsequent drawing to DrawCommand.PushClip.bounds intersected with every active outer clip.
Begins a clip whose transformed edges remain fractional until final pixel coverage is determined.
Samples an immutable image through fractional geometry at the backend's final physical pixel density.