Skip to content

FontStyle

The FontStyle class defines the various style attributes for fonts, such as whether the font is bold, italic, underlined, or struck through.

Constructor:

  • constructor(bold: boolean, italic: boolean, underline: boolean, strikeout: boolean)
    Creates an instance of a FontStyle object.