Closed pashinin closed 3 years ago
Let's say I want insert labels for some dots in SVG picture. I want this text to be below/up/left/right/centered to these dots.
To place it properly I need to get this Text node size. How can I get it before I append() it to SVG?
append()
Let's say I want insert labels for some dots in SVG picture. I want this text to be below/up/left/right/centered to these dots.
To place it properly I need to get this Text node size. How can I get it before I
append()
it to SVG?