Function calculateTextWidthHeightAux
- calculateTextWidthHeightAux(element, style, styleCache, fontCache): Promise<[BoxesItem, TextStyle, fontkit.Font]>
-
Parameters
-
element: tkTree
-
style: TextStyle
-
styleCache: TextStyle
-
fontCache: Font
Returns Promise<[BoxesItem, TextStyle, fontkit.Font]>
calculate the text width and Height with a given
TextStyle