Properties
fontSizeStandard
fontSizeStandard: number
Methods
computeTextWidthToHeightRatio
- computeTextWidthToHeightRatio(text: string, font: Fonts, style: FontStyles, fontFamily?: string, fontSize?: number): number
Parameters
text: string
Optional fontFamily: string
Optional fontSize: number
Returns number
setFontSize
- setFontSize(fontSize: number): number