OptionalabsCoord?: booleanset to true if x,y should be considered absolute in the svg (in that case rep is ignored), useless if there is no frame (in that case x,y will be considered absolute regardless of this property)
OptionalbackgroundColor?: stringBackground color, white by default
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 to the linked point (if any)
Optionalhidden?: booleantrue to get the created text display masked
OptionaloffsetX?: numberx-shift oof the text display
OptionaloffsetY?: numbery-shift oof 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
Optionalrep?: stringtag of the frame (system of coordinates), mandatory only if the figure contains several frames
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 alignement top|middle|bottom to the linked point (if any)
x-coordinate of the location the text is to be displayed at
y-coordinate of the location the text is to be displayed at
Promise that will be resolved when the text is displayed
Adds a text diplay located at [x,y] syntaxes
addText(text, x, y)andaddText(text, x, y, color)are allowed too