Function setBounds

Set the bounds of an element, using its width/height attribs.

  • Parameters

    • svg: SVGElement
    • bounds: Rect

    Returns void