Constructors
constructor
- new Font(family?: undefined | string, size?: undefined | number): Font
-
Parameters
-
Optional family: undefined | string
-
Optional size: undefined | number
Properties
Static SANS_SERIF
SANS_
SERIF: Font = new Font()
Static SERIF
SERIF
: Font = new Font("serif")
A Font is a pairing of a font-family and a size.