Package gwt.g2d.client.graphics.shapes

Examples of gwt.g2d.client.graphics.shapes.ShapeBuilder.drawCircle()


    surface.strokeShape(new ShapeBuilder()
        .drawEllipse(20, 100, 180, 100)
        .build());
    ShapeBuilder dotShapeBuilder = new ShapeBuilder();
    for (int i = 0; i < 8; i++) {
      dotShapeBuilder.drawCircle(80 + i * 12, 50, 1);
    }
    surface.fillShape(dotShapeBuilder.build());
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.