AbstractMeasureText

AbstractMeasureText ⇐ Abstract

Kind: global abstract class
Extends: Abstract

AbstractMeasureText()

Utility class to fix typographic font text measurement.

getWidth(fontName, size, text) ⇒ number

Kind: static method of AbstractMeasureText

ParamType
fontNamestring
sizenumber
textstring

_getWidth(fontDescription, size, text) ⇒ number

Kind: static abstract method of AbstractMeasureText

ParamType
fontDescriptionobject
sizenumber
textstring

getHeight(font, size) ⇒ number

Kind: static method of AbstractMeasureText

ParamType
fontstring
sizenumber