LinesSpec ​Contract 2.0.0 · package sha256
a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e· generated fromconfigurator-runtime.d.tsbyservices/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.
| 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. |
export interface LinesSpec {
points: readonly Point3[];
closed?: boolean;
color?: ColorValue;
widthPx?: number;
onTop?: boolean;
}
| 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) |