Methods
addCustomFontToSvg()
Assigns font-related attributes
- Source:
clearFont()
Clears all font-related attributes
- Source:
(private) getFontHtml()
Return full font declaration which can be set as font property like '12pt Arial bold'
- Source:
getFontName()
Returns font name
- Source:
(private) isMonospace()
Returns true in case of monospace font
- Source:
(async, private) load()
Async function to load font
- Source:
(private) needLoad()
Should returns true if font has to be loaded before
- Source:
roundAngle()
Align angle to step raster, add optional offset
- Source:
setAlign()
Set text align (optional)
- Source:
setAngle()
Set text angle (optional)
- Source:
setColor()
Set text color (optional)
- Source:
setFont()
Assigns font-related attributes
- Source:
setFontStyle()
Assigns only font style attributes
- Source:
(private) setNameStyleWeight()
Directly set name, style and weight for the font
- Source:
setPainter()
Set painter for which font will be applied
- Source:
setSize()
Set font size (optional)
- Source:
setUseFullStyle()
Force setting of style and weight, used in latex
- Source: