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 instance of the TextStyle class.

Properties

Property Description
name Gets the style name.
font_name Gets the font name.
font_size Gets the font size.
is_bold Gets the value that indicates whether the font is bold.
is_italic Gets a value that indicates whether the font is italic.

See Also