Name (or tag if name is empty) of the point the text display must be linked to
OptionalbackgroundColor?: stringBackground color if opaque is true
Optionalborder?: stringThe border style (none|simple|3D)
Optionalcolor?: stringColor, black by default
OptionalfontSize?: numberSize of the font used for the display (in pixels)
OptionalhAlign?: stringHorizontal alignment left|center|right
Optionalhidden?: booleantrue to get the created text display masked
OptionaloffsetX?: numberx-shift of the text display
OptionaloffsetY?: numbery-shift of the text display
Optionalopacity?: numberopacity (0 to 1), 1 by default
Optionalopaque?: booleantrue if the text or LaTeX displays erases its background. If true the color used to erase the background is the backgroundColor if present, else the background color of the figure
Optionaltag?: stringTag to be applied on the created text display (if present)
The text to be displayed
OptionaltextAlign?: stringHorizontal alignment of the text (if it contains several lines)
OptionalvAlign?: stringVertical alignment top|middle|bottom
Promise that will be resolved when the text is displayed
Adds a text display linked to a point a syntaxes
addLinkedText(text, a)andaddLinkedText(text, a, color)are allowed too