Skip to content
Shapemetry

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.

MethodDescriptionArgTypeDefaultMeaning
layerLayer — Linework appearance record (color / width / dash) — layers[] lane only. Referenced by name via applyLayer.namestring'Layer'Layer name (string expression; quote literals). Unique among resolved names.
colorrgbLinework RGB 0–1 as [r,g,b], or omit for default.
lineWidthlengthStroke width in world units (mm). Omit for default.
lineStylestring'solid' | 'dashed' | 'dotted'. Omit or 'solid' = solid.
Last updated: 📖 1 min readEdit on GitHub