Companion

Properties

Link copied to clipboard
val format: Json

JSON configuration for the layout file: pretty-printed and self-describing, with "type" naming the spatial-space discriminator.

Link copied to clipboard
val tomlFormat: Toml

TOML codec for the layout (handles the sealed spatial-space hierarchy via its serial names). Tolerates keys this version no longer models (e.g. the retired dashboards) so older files still load.

Functions

Link copied to clipboard

Parses a .lay.json string into an AnimationLayout.

Link copied to clipboard

Parses a TOML layout string into an AnimationLayout (8E.2).

Link copied to clipboard

Reads a layout from path, picking the codec by extension: .toml -> TOML, else JSON.

Link copied to clipboard
Link copied to clipboard

Reads an AnimationLayout from a .lay.toml path.