Package org.openstreetmap.josm.data.osm.visitor

Examples of org.openstreetmap.josm.data.osm.visitor.SimplePaintVisitor


      // paint remainder
      ((Graphics2D) g).setPaint(hatched);
      ((Graphics2D) g).fill(a);
    }

    SimplePaintVisitor painter;
    if (Main.pref.getBoolean("draw.wireframe"))
      painter = new SimplePaintVisitor();
    else
      painter = new MapPaintVisitor();
    painter.setGraphics(g);
    painter.setNavigatableComponent(mv);
    painter.inactive = inactive;
    painter.visitAll(data, virtual);
    // Main.map.conflictDialog.paintConflicts(g, mv);
  }
View Full Code Here

TOP

Related Classes of org.openstreetmap.josm.data.osm.visitor.SimplePaintVisitor

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.