Skip to main content

Module composition

Module composition 

Source
Expand description

Fixed local image resources and native composition. Immutable fixed-source content and its physical placement.

Structs§

ComposeOptions
Options for one final composition.
Composite
One completed, immutable composition, retaining its first coordinate frame.
CompositionPlan
An independent base snapshot and its ordered, repeatable composition steps.
CompositionSource
A source accepted by final composition. Native declarations, retained native outputs and sealed local images all retain their actual content.
ImageAsset
Validated, owned local image input. The source bytes and referenced resources are retained independently of the caller’s buffer or filesystem.
ImageFontSubstitution
An actual external SVG font substitution made while freezing glyphs.
ObjectPosition
CSS object-position: align the rendered object’s size within its frame.
PanelImage
Placement options for an image or an already frozen native output. A path is read when the content is admitted to a Canvas.
Placement
An owned item and a placement in the original base scene’s CSS coordinates. One placement chooses a point or a box; its optional boundary is independent of its geometric target.

Enums§

ImageRendering
Sampling policy for image resources. It never changes layout dimensions.
ObjectFit
CSS object-fit sizing for a fixed source viewport.

Functions§

compose
Compose items on a base, using the same operation as the receiver method.