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