LinesSpec ​

Contract 2.0.0 · package sha256 a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e · generated from configurator-runtime.d.ts by services/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.

Interface · import type { LinesSpec } from '@holostep-configurators/runtime-client/contract'; · stable · since 2.0.0 · section 7. Collections and shapes

A lines item: a polyline in item-local metres.

Members ​

Member Kind Summary
points property Item-local points, metres.
closed? property Joins the last point to the first.
color? property The line's colour.
widthPx? property CSS px.
onTop? property Drawn over everything.

Declaration ​

ts
export interface LinesSpec {
  points: readonly Point3[];
  closed?: boolean;
  color?: ColorValue;
  widthPx?: number;
  onTop?: boolean;
}

Generic-API test (spec 3.1) ​

Rule Result
1. Neutral name pass: LinesSpec names no product
2. A precedent pass: Unity LineRenderer (row K49); Babylon.js EdgesRenderer (row K49)
3. Two apps, or labs pass: 5 apps (ledger: app-378d190f1b, app-b4ae2fce25, app-ddfb017681, app-fc07850558, app-fc306ec3dc)
4. The cheaper fix first decided per need in Appendix B: rows K49 at tier stable (a member only where no rule, data, asset or app code serves the need)