Package org.geomajas.gwt.client.gfx

Examples of org.geomajas.gwt.client.gfx.PaintableGroup


      Feature feature = (Feature) paintable;
      WorldViewTransformer worldViewTransformer = feature.getLayer().getMapModel().getMapView()
          .getWorldViewTransformer();
      Geometry geometry = worldViewTransformer.worldToPan(feature.getGeometry());
      ShapeStyle style = createStyleForFeature(feature);
      PaintableGroup selectionGroup = feature.getLayer().getSelectionGroup();
      context.getVectorContext().drawGroup(selectionGroup, feature);
      String name = feature.getLayer().getId() + "-" + feature.getId();

      if (geometry instanceof LineString) {
        context.getVectorContext().drawLine(feature, name, (LineString) geometry, style);
View Full Code Here


   *            how to render
   * @since 1.6.0
   */
  @Api
  public void render(Paintable paintable, RenderGroup renderGroup, RenderStatus status) {
    PaintableGroup group = null;
    if (renderGroup != null) {
      group = getGroup(renderGroup);
    }
    if (!graphics.isReady()) {
      return;
View Full Code Here

TOP

Related Classes of org.geomajas.gwt.client.gfx.PaintableGroup

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.