Skip to main content

Interface: ResolvedTextSpan

Defined in: attributes/text/span.ts:30

A span flattened against its parents — every style field is concrete and fills/strokes are resolved. Newlines in text are preserved; the renderer splits on \n to lay out lines.

Properties

fill

fill: FillResolved[]

Defined in: attributes/text/span.ts:37


fontFamily

fontFamily: string

Defined in: attributes/text/span.ts:32


fontSize

fontSize: number

Defined in: attributes/text/span.ts:33


fontStyle

fontStyle: FontStyle

Defined in: attributes/text/span.ts:35


fontWeight

fontWeight: number

Defined in: attributes/text/span.ts:34


letterSpacing

letterSpacing: number

Defined in: attributes/text/span.ts:36


stroke

stroke: StrokeResolved[]

Defined in: attributes/text/span.ts:38


text

text: string

Defined in: attributes/text/span.ts:31