getExtentOfChar

external fun getExtentOfChar(charnum: Int): SVGRect(source)

The getExtentOfChar() method of the SVGTextContentElement interface the represents computed tight bounding box of the glyph cell that corresponds to a given typographic character.

MDN Reference