Creates or reuses a SVGTextElement

  • Parameters

    • text: string

      Text

    • parent: SVGElement
    • Optionalpos: Point

      Position of text

    • Optionalopts: TextDrawingOpts
    • OptionalqueryOrExisting: string | SVGTextElement

    Returns SVGTextElement