Changeset 29110 in osm for applications


Ignore:
Timestamp:
2012-12-23T17:49:25+01:00 (12 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed2/src/symbols/Buoys.java

    r29109 r29110  
    213213        }
    214214        public static final ArrayList<Instr> Storage = new ArrayList<Instr>();
     215        static {
     216                Storage.add(new Instr(Prim.STRK, new BasicStroke(4.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
     217                Storage.add(new Instr(Prim.FILL, Color.black));
     218                Storage.add(new Instr(Prim.ELPS, new Ellipse2D.Double(-10,-10,20,20)));
     219    Path2D.Double p = new Path2D.Double(); p.moveTo(-50.0,0.0); p.lineTo(-40.0,-20.0); p.lineTo(40.0,-20.0); p.lineTo(40.0,-20.0);
     220    p.lineTo(50.0,0.0); p.lineTo(40.0,20.0); p.lineTo(-40.0,20.0); p.closePath();
     221    Storage.add(new Instr(Prim.PLIN, p));
     222        }
    215223        public static final ArrayList<Instr> Super = new ArrayList<Instr>();
    216224        static {
Note: See TracChangeset for help on using the changeset viewer.