Name | Description | |
---|---|---|
getBold | Gets the top-level font weight for the content of the element.
True if font weight is bold (700). Otherwise, font weight is normal or regular (400). | |
getFontFamily | Gets a family of related fonts. | |
getFontSize | Gets the desired font size to use in points. | |
getItalic | Gets the font style for the content of the element.
True if font style is italic. Otherwise, font style is normal. | |
setBold | Sets the top-level font weight for the content of the element.
True if font weight is bold (700). Otherwise, font weight is normal or regular (400). | |
setFontFamily | Sets a family of related fonts. | |
setFontSize | Sets the desired font size to use in points. | |
setItalic | Sets the font style for the content of the element.
True if font style is italic. Otherwise, font style is normal. |