@express-document-sdk / CharacterStyles
Text styles that can be applied to any range of characters, even a short span like a single word. (Contrast with ParagraphStyles, which must be applied to an entire paragraph atomically).
BaseCharacterStyles• color: Color
Text color.
BaseCharacterStyles.color
• font: Font
• fontSize: number
Size of the text in points.
BaseCharacterStyles.fontSize
• letterSpacing: number
Uniformly adjusts the letter spacing, aka character spacing. Specified as a delta relative to the font’s default spacing, in units of 1/1000 em: positive values increase the spacing, negative values tighten the spacing, and 0 leaves spacing at its default.
BaseCharacterStyles.letterSpacing
• underline: boolean
Adds an underline to text.
BaseCharacterStyles.underline