Interface: TextSpan
Defined in: attributes/text/span.ts:13
A styled run of text. Spans may nest — children inherit any style fields
the parent set and override the ones they redeclare (Flutter-style
TextSpan). A span with children and no text acts as a pure style
scope; a span with both contributes its text before its children.
Properties
children?
optionalchildren?:TextSpan[]
Defined in: attributes/text/span.ts:22
fill?
optionalfill?:ChainableFill
Defined in: attributes/text/span.ts:20
fontFamily?
optionalfontFamily?:string
Defined in: attributes/text/span.ts:15
fontSize?
optionalfontSize?:number
Defined in: attributes/text/span.ts:16
fontStyle?
optionalfontStyle?:FontStyle
Defined in: attributes/text/span.ts:18
fontWeight?
optionalfontWeight?:number
Defined in: attributes/text/span.ts:17
letterSpacing?
optionalletterSpacing?:number
Defined in: attributes/text/span.ts:19
stroke?
optionalstroke?:StrokeProp|StrokeProp[]
Defined in: attributes/text/span.ts:21
text?
optionaltext?:string
Defined in: attributes/text/span.ts:14