Convenience for IStyledFont.getWeight. Returns true when the weight is bold (> 400).
The character set the font was authored against, or null when the font does not name one.
Purely a font-substitution hint - see IFont.Charset. Cell text is Unicode either way, so this does not change what a cell contains or, when the named family is installed, how it renders.
The text color.
A list of fonts and their fallbacks. These can also be provided in the fontFamily attribute but will be normalized to here.
This can be set as a string using html values such as 'Arial 11pt' but will be resolved to a single font. Fallbacks and fontSize will be marshalled into their correct property.
A font with a scheme of major or minor is a theme font and
reports the theme's heading or body font; a font with no family of its own reports the theme
body font.
Convenience for IStyledFont.getStyle. Returns true when the style is italic.
Adds or removes additional spacing between the characters.
Font size is either a number in points or a string that can be converted such as '14px', '1.5em'.
The effect draws the text with a line through it.
Returns the size to scale the font for super/sub text.
Returns the number of pixels to shift the font for super/sub text.
Sets the underline style. If true defaults to single. If false or null defaults to none.
Returns the vertical alignment of the text within a text line.
The weight of the characters.
Compare against another font to see if they will have the same font measure This is used to optimize updates by not re-calcing the width/height
The other style font
Returns true if the font is either a superscript or a subscript.
Convenience for IStyledFont.setWeight. Sets the weight to bold (700) when true,
normal (400) when false, or clears the weight when null.
Optionaloptions: UpdateOptionsThere is no bold property - bold is a spelling of IStyledFont.Properties.weight.
The equivalent update-object form is IStyledFont.Modifiers.bold, which is folded onto
weight before it is stored.
Optionaloptions: UpdateOptionsOptionaloptions: UpdateOptionsOptionaloptions: UpdateOptionsOptionaloptions: UpdateOptionsNaming a family clears the scheme, since a font that names its own family is no longer a theme font.
Optionaloptions: UpdateOptionsConvenience for IStyledFont.setStyle. Sets the style to italic (IFont.Style.Italic)
when true, normal (IFont.Style.Normal) when false, or clears the style when null.
Optionaloptions: UpdateOptionsThere is no italic property - italic is a spelling of IStyledFont.Properties.style.
The equivalent update-object form is IStyledFont.Modifiers.italic, which is folded onto
style before it is stored.
Optionaloptions: UpdateOptionsOptionaloptions: UpdateOptionsSetting major or minor clears the family, since a theme
font resolves its own.
Optionaloptions: UpdateOptionsOptionaloptions: UpdateOptionsOptionaloptions: UpdateOptionsOptionaloptions: UpdateOptionsOptionaloptions: UpdateOptionsOptionaloptions: UpdateOptionsOptionaloptions: UpdateOptionsOptionaloptions: UpdateOptionsReturns the font styles as a set of css string that are suitable for css.
Optionalmode: CSSModeOptionalzoom: numberOptionalignoreNormal: booleanSerializes to a JSON object.
Represents a font with styling color.