1、SVGTextElement.getBBox() ==> 然后得到 寬 和 高
2、SVGTextElement.getComputedTextLength() ==> 這個是得到 寬 的函數,貌似沒有得到 高 的函數...(我把 SVGTextElement 的所有屬性都打印出來了,貌似也沒找到對應的計算高的函數)
3、
參考網址:
https://stackoverflow.com/questions/10254644/get-pixel-length-of-string-in-svg
https://stackoverflow.com/questions/1636842/svg-get-text-element-width
4、
5、