Font

interface Font

A font definition.

Properties

bold
Link copied to clipboard
abstract var bold: Boolean
True if the font is bold, false if not.
italic
Link copied to clipboard
abstract var italic: Boolean
True if the font is italic, false if not.
name
Link copied to clipboard
abstract var name: String
The name of the font.
size
Link copied to clipboard
abstract var size: Int
The size of the font in pt.
underlined
Link copied to clipboard
abstract var underlined: Boolean
True if the font is underlined, false if not.