Function getBounds

Get the bounds of an SVG element (determined by its width/height attribs)

  • Parameters

    • svg: SVGElement

    Returns Rect