getBBox

fun getBBox(options: SVGBoundingBoxOptions = definedExternally): DOMRect(source)

MDN Reference