TextStyle class

TextStyle class

Represents the style of the text such as a font name, a font size and so on.

The TextStyle type exposes the following members:

Constructors

Constructor Description
init Initializes a new TextStyle instance.

Properties

Property Description
font_name The font name as a string.
font_size The font size.
is_bold The value indicating whether the font is bold.
is_italic The value indicates whether the font is italic.
name The style name.

See Also