Function: drawTextBox()
drawTextBox(
svgDrawingHelper
,annotationUID
,textUID
,textLines
,position
,options
):SVGRect
Draws a textBox.
Parameters
• svgDrawingHelper: SVGDrawingHelper
• annotationUID: string
• textUID: string
• textLines: string
[]
The text to display.
• position: Point2
The x/y position of the textbox
• options = {}
Options for the textBox.
Returns
SVGRect
Bounding box; can be used for isPointNearTool