bboxToObj = ({ x, y, width, height }) => {
  return { x, y, width, height }
}
Converts a `SVGRect` into an object.
@function module:utilities.bboxToObj
@param {SVGRect} bbox - a SVGRect
@returns {module:utilities.BBoxObject} An object with properties names x, y, width, height.