*/
protected void buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode) {
try {
SVGOMEllipseElement ee = (SVGOMEllipseElement) e;
// 'cx' attribute - default is 0
AbstractSVGAnimatedLength _cx =
(AbstractSVGAnimatedLength) ee.getCx();
float cx = _cx.getCheckedValue();
// 'cy' attribute - default is 0
AbstractSVGAnimatedLength _cy =
(AbstractSVGAnimatedLength) ee.getCy();
float cy = _cy.getCheckedValue();
// 'rx' attribute - required
AbstractSVGAnimatedLength _rx =
(AbstractSVGAnimatedLength) ee.getRx();
float rx = _rx.getCheckedValue();
// 'ry' attribute - required
AbstractSVGAnimatedLength _ry =
(AbstractSVGAnimatedLength) ee.getRy();
float ry = _ry.getCheckedValue();
shapeNode.setShape(new Ellipse2D.Float(cx - rx, cy - ry,
rx * 2, ry * 2));
} catch (LiveAttributeException ex) {