Model - layers[]
Every method of the layers[] lane. Each step of a layers[] entry returns a layer, and the lane's entries are addressed by the identity schema/lanes.ts declares for it.
| Method | Description | Arg | Type | Default | Meaning |
|---|---|---|---|---|---|
layer | Layer — Linework appearance record (color / width / dash) — layers[] lane only. Referenced by name via applyLayer. | name | string | 'Layer' | Layer name (string expression; quote literals). Unique among resolved names. |
color | rgb | Linework RGB 0–1 as [r,g,b], or omit for default. | |||
lineWidth | length | Stroke width in world units (mm). Omit for default. | |||
lineStyle | string | 'solid' | 'dashed' | 'dotted'. Omit or 'solid' = solid. |