Package org.vaadin.gwtgraphics.client.impl.util

Examples of org.vaadin.gwtgraphics.client.impl.util.SVGBBox


    });
  }

  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 + ")");
  }
View Full Code Here

TOP

Related Classes of org.vaadin.gwtgraphics.client.impl.util.SVGBBox

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.