parseEllipseNode method
Implementation
ShapePath parseEllipseNode(node) {
var x = parseFloatWithUnits(node.getAttribute('cx'));
var y = parseFloatWithUnits(node.getAttribute('cy'));
var rx = parseFloatWithUnits(node.getAttribute('rx'));
var ry = parseFloatWithUnits(node.getAttribute('ry'));
var subpath = Path(null);
subpath.absellipse(x, y, rx, ry, 0, Math.pi * 2, null, null);
var path = ShapePath();
path.subPaths.add(subpath);
return path;
}