cupertino-files / CharacterFormatting
Interface: CharacterFormatting
Defined in: src/tss/stylesheet.ts:53
Properties
backgroundColor?
optionalbackgroundColor?:Color
Defined in: src/tss/stylesheet.ts:62
Text highlight colour behind the glyphs.
baselineShift?
optionalbaselineShift?:number
Defined in: src/tss/stylesheet.ts:84
bold?
optionalbold?:boolean
Defined in: src/tss/stylesheet.ts:54
capitalization?
optionalcapitalization?:number
Defined in: src/tss/stylesheet.ts:75
0 none, 1 all caps, 2 small caps, 3 title case.
fontColor?
optionalfontColor?:Color
Defined in: src/tss/stylesheet.ts:60
fontName?
optionalfontName?:string
Defined in: src/tss/stylesheet.ts:59
PostScript font name, e.g. "Helvetica-Bold".
fontSize?
optionalfontSize?:number
Defined in: src/tss/stylesheet.ts:57
Point size.
italic?
optionalitalic?:boolean
Defined in: src/tss/stylesheet.ts:55
kerning?
optionalkerning?:number
Defined in: src/tss/stylesheet.ts:83
Manual kerning adjustment.
language?
optionallanguage?:string
Defined in: src/tss/stylesheet.ts:90
BCP-47 language tag used for spelling and hyphenation.
ligatures?
optionalligatures?:number
Defined in: src/tss/stylesheet.ts:77
0 required, 1 standard, 2 all.
outline?
optionaloutline?:number
Defined in: src/tss/stylesheet.ts:86
Glyph outline width; 0 = filled text.
outlineColor?
optionaloutlineColor?:Color
Defined in: src/tss/stylesheet.ts:87
shadow?
optionalshadow?:Shadow
Defined in: src/tss/stylesheet.ts:88
strikethru?
optionalstrikethru?:number
Defined in: src/tss/stylesheet.ts:70
0 none, 1 single, 2 double, 3 triple — see StrikethruType.
strikethruColor?
optionalstrikethruColor?:Color
Defined in: src/tss/stylesheet.ts:71
strikethruWidth?
optionalstrikethruWidth?:number
Defined in: src/tss/stylesheet.ts:72
superscript?
optionalsuperscript?:number
Defined in: src/tss/stylesheet.ts:79
0 normal, 1 superscript, 2 subscript.
tracking?
optionaltracking?:number
Defined in: src/tss/stylesheet.ts:81
Additional tracking (fraction of font size).
underline?
optionalunderline?:number
Defined in: src/tss/stylesheet.ts:64
0 none, 1 single, 2 double, 3 wavy — see UnderlineType.
underlineColor?
optionalunderlineColor?:Color
Defined in: src/tss/stylesheet.ts:65
underlineWidth?
optionalunderlineWidth?:number
Defined in: src/tss/stylesheet.ts:66
wordStrikethru?
optionalwordStrikethru?:boolean
Defined in: src/tss/stylesheet.ts:73
wordUnderline?
optionalwordUnderline?:boolean
Defined in: src/tss/stylesheet.ts:68
Underline words only, skipping the spaces between them.