A plain container.
Optionalchildren?: CanvasElement[]Nested descriptors, drawn inside this one.
Everything but the children, which are their own field.
A container that stacks its children vertically.
Optionalchildren?: CanvasElement[]Nested descriptors, drawn inside this one.
Everything but the children, which are their own field.
A container that lays its children out in a line.
Optionalchildren?: CanvasElement[]Nested descriptors, drawn inside this one.
Everything but the children, which are their own field.
A container that places its children on a grid.
Optionalchildren?: CanvasElement[]Nested descriptors, drawn inside this one.
Everything but the children, which are their own field.
One cell of a grid, which may span several tracks.
Optionalchildren?: CanvasElement[]Nested descriptors, drawn inside this one.
Everything but the children, which are their own field.
A raster image, fitted into its box by objectFit.
The load callbacks are dropped: a function cannot cross into a worker.
An arbitrary shape from SVG path data.
The path and how it is painted.
A run of text, which may carry inline markup.
Optionalprops?: TextPropsStyling for the run.
The string to draw. Numbers are accepted so a count needs no conversion.
A chart, drawn from data rather than from child nodes.
The chart minus its options, which are widened so they survive the worker boundary.
A component described as plain data, tagged by
__type.Factories return these rather than live nodes, which is what lets a whole tree cross into a worker thread by structured clone.