                 return .none
         }
 
-        let resultRect = Rect(x: getDoubleValue(element, attribute: "x") ?? 0, y: getDoubleValue(element, attribute: "y") ?? 0, w: width, h: height)
+        let resultRect = Rect(x: getDoubleValue(element, attribute: "x") ?? 0,
+                              y: getDoubleValue(element, attribute: "y") ?? 0,
+                              w: width,
+                              h: height)
 
         let rxOpt = getDoubleValue(element, attribute: "rx")
         let ryOpt = getDoubleValue(element, attribute: "ry")

            return .none
        }

        return Circle(cx: getDoubleValue(element, attribute: "cx") ?? 0, cy: getDoubleValue(element, attribute: "cy") ?? 0, r: r)
    }

    fileprivate func parseEllipse(_ ellipse: XMLIndexer) -> Arc? {

            if nextString.rangeOfCharacter(from: CharacterSet.whitespacesAndNewlines).location == 0 {
                withWhitespace = true
            }
            return collectTspans(fullString.substring(from: closingTagRange.location + closingTagRange.length),
                                 collectedTspans: collection,
                                 withWhitespace: withWhitespace,
                                 textAnchor: textAnchor,
                                 fill: fill,
                                 stroke: stroke,
                                 opacity: opacity,
                                 fontName: fontName,
                                 fontSize: fontSize,
                                 fontWeight: fontWeight,
                                 bounds: Rect(x: bounds.x, y: bounds.y, w: bounds.w + text.bounds.w, h: bounds.h))
        }
        // parse as regular text element
        var textString: NSString
