ShapeLine
Defined in: src/core/document-model/types.ts:1396
§20.1.2.2.24 a:ln — a shape’s outline (stroke).
Properties
Section titled “Properties”alpha?
Section titled “alpha?”
readonlyoptionalalpha?:number
Defined in: src/core/document-model/types.ts:1408
§20.1.2.3.1 a:alpha on the line’s colour — how opaque the stroke is, 0..1.
readonlyoptionalcap?:"square"|"flat"|"round"
Defined in: src/core/document-model/types.ts:1405
colorHex?
Section titled “colorHex?”
readonlyoptionalcolorHex?:string
Defined in: src/core/document-model/types.ts:1398
customDash?
Section titled “customDash?”
readonlyoptionalcustomDash?: readonlynumber[]
Defined in: src/core/document-model/types.ts:1404
§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.
readonlyoptionaldash?:ShapeDash
Defined in: src/core/document-model/types.ts:1399
readonlyoptionalfill?:"none"|"solid"
Defined in: src/core/document-model/types.ts:1406
headEnd?
Section titled “headEnd?”
readonlyoptionalheadEnd?:LineEnd
Defined in: src/core/document-model/types.ts:1410
§20.1.8.24 a:headEnd — the decoration at the line’s first point.
tailEnd?
Section titled “tailEnd?”
readonlyoptionaltailEnd?:LineEnd
Defined in: src/core/document-model/types.ts:1412
§20.1.8.42 a:tailEnd — the decoration at the line’s last point.
width?
Section titled “width?”
readonlyoptionalwidth?:Pt
Defined in: src/core/document-model/types.ts:1397