});
}
private void setRotateTransform(Element element, int degree,
boolean attached) {
SVGBBox box = SVGUtil.getBBBox(element, attached);
int x = box.getX() + box.getWidth() / 2;
int y = box.getY() + box.getHeight() / 2;
SVGUtil.setAttributeNS(element, "transform", "rotate(" + degree + " "
+ x + " " + y + ")");
}