# `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 |
| --- | --- | --- |
| <a id="points"></a>[`points`](LinesSpec.points.md) | property | Item-local points, metres. |
| <a id="closed"></a>[`closed?`](LinesSpec.closed.md) | property | Joins the last point to the first. |
| <a id="color"></a>[`color?`](LinesSpec.color.md) | property | The line's colour. |
| <a id="widthpx"></a>[`widthPx?`](LinesSpec.widthPx.md) | property | CSS px. |
| <a id="ontop"></a>[`onTop?`](LinesSpec.onTop.md) | 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](https://docs.unity3d.com/ScriptReference/LineRenderer.html) (row `K49`); [Babylon.js EdgesRenderer](https://github.com/BabylonJS/Babylon.js/blob/master/packages/dev/core/src/Rendering/edgesRenderer.ts) (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) |
