Package org.geomajas.gwt.client.gfx.paintable

Examples of org.geomajas.gwt.client.gfx.paintable.Circle


   *            The group where the object resides in (optional).
   * @param context
   *            A MapContext object, responsible for actual drawing.
   */
  public void paint(Paintable paintable, Object group, MapContext context) {
    Circle circle = (Circle) paintable;
    context.getVectorContext().drawCircle(group, circle.getId(), circle.getPosition(), circle.getRadius(),
        (ShapeStyle) circle.getStyle());
  }
View Full Code Here


   *            The group where the object resides in (optional).
   * @param graphics
   *            The context to paint on.
   */
  public void deleteShape(Paintable paintable, Object group,  MapContext context) {
    Circle circle = (Circle) paintable;
    context.getVectorContext().deleteElement(group, circle.getId());
  }
View Full Code Here

TOP

Related Classes of org.geomajas.gwt.client.gfx.paintable.Circle

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.