Skip to content

vyaz-monorepo / core/src / LineDecoration

Interface: LineDecoration ​

Defined in: core/src/types/LayoutTypes.ts:207

One underline / strikethrough rule — see Line.decorations.

Properties ​

color ​

color: string

Defined in: core/src/types/LayoutTypes.ts:215


kind ​

kind: "underline" | "strikethrough"

Defined in: core/src/types/LayoutTypes.ts:208


thickness ​

thickness: number

Defined in: core/src/types/LayoutTypes.ts:214


width ​

width: number

Defined in: core/src/types/LayoutTypes.ts:211


x ​

x: number

Defined in: core/src/types/LayoutTypes.ts:210

Left edge, span coordinates (same space as Span.x).


y ​

y: number

Defined in: core/src/types/LayoutTypes.ts:213

Top edge, relative to the line top.

Released under the MIT License.