FontOptions
Index
Properties
optionalbaseAlign
Optionally specify the text base align, by default Alphabetic
optionalbold
Optionally set whether the font is bold, by default false
optionaldirection
Optionally specify the text direction, by default LeftToRight
optionalfamily
Optionally specify the font family, by default 'sans-serif'
optionallineHeight
Optionally override the text line height in pixels, useful for multiline text. If unset will use default.
optionalquality
Optionally specify the quality of the text bitmap, it is a multiplier on the size size, by default 2. Higher quality text has a higher memory impact
optionalshadow
optionalsize
Optionally the size of the font in the specified FontUnit by default 10.
optionalstyle
Optionally specify the font style, by default Normal
optionaltextAlign
Optionally specify the text align, by default Left
optionalunit
Optionally specify unit to measure fonts in, by default Pixels
Font rendering option