Skip to content

ShapeLine

Defined in: src/core/document-model/types.ts:1272

§20.1.2.2.24 a:ln — a shape’s outline (stroke).

readonly optional cap?: "square" | "flat" | "round"

Defined in: src/core/document-model/types.ts:1281


readonly optional colorHex?: string

Defined in: src/core/document-model/types.ts:1274


readonly optional customDash?: readonly number[]

Defined in: src/core/document-model/types.ts:1280

§20.1.8.21 a:custDash — the author’s own pattern: dash/space lengths as MULTIPLES of the line width, in the order they are drawn.


readonly optional dash?: ShapeDash

Defined in: src/core/document-model/types.ts:1275


readonly optional fill?: "none" | "solid"

Defined in: src/core/document-model/types.ts:1282


readonly optional headEnd?: LineEnd

Defined in: src/core/document-model/types.ts:1284

§20.1.8.24 a:headEnd — the decoration at the line’s first point.


readonly optional tailEnd?: LineEnd

Defined in: src/core/document-model/types.ts:1286

§20.1.8.42 a:tailEnd — the decoration at the line’s last point.


readonly optional width?: Pt

Defined in: src/core/document-model/types.ts:1273