Changeset 29126 in osm for applications/editors/josm/plugins/smed2/src/symbols/Topmarks.java
- Timestamp:
- 2012-12-26T19:31:12+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/symbols/Topmarks.java
r29111 r29126 28 28 public static final ArrayList<Instr> TopBoard = new ArrayList<Instr>(); 29 29 static { 30 TopBoard.add(new Instr(Prim.BBOX, new Rectangle(-20, 80,40,80)));30 TopBoard.add(new Instr(Prim.BBOX, new Rectangle(-20,-80,40,80))); 31 31 ArrayList<Instr> colours = new ArrayList<Instr>(); 32 32 Path2D.Double p = new Path2D.Double(); p.moveTo(-19.0,-2.0); p.lineTo(-19.0,-39.0); p.lineTo(19.0,-39.0); p.lineTo(19.0,-2.0); p.closePath(); … … 40 40 public static final ArrayList<Instr> TopCan = new ArrayList<Instr>(); 41 41 static { 42 TopCan.add(new Instr(Prim.BBOX, new Rectangle(-20, 80,40,80)));42 TopCan.add(new Instr(Prim.BBOX, new Rectangle(-20,-80,40,80))); 43 43 ArrayList<Instr> colours = new ArrayList<Instr>(); 44 44 Path2D.Double p = new Path2D.Double(); p.moveTo(-12.0,-15.0); p.lineTo(-12.0,-48.0); p.lineTo(12.0,-48.0); p.lineTo(12.0,-15.0); p.closePath(); … … 53 53 public static final ArrayList<Instr> TopCone = new ArrayList<Instr>(); 54 54 static { 55 TopCone.add(new Instr(Prim.BBOX, new Rectangle(-20, 80,40,80)));55 TopCone.add(new Instr(Prim.BBOX, new Rectangle(-20,-80,40,80))); 56 56 ArrayList<Instr> colours = new ArrayList<Instr>(); 57 57 Path2D.Double p = new Path2D.Double(); p.moveTo(-15.0,-15.0); p.lineTo(0.0,-45.0); p.lineTo(15.0,-15.0); p.closePath(); … … 66 66 public static final ArrayList<Instr> TopCross = new ArrayList<Instr>(); 67 67 static { 68 TopCross.add(new Instr(Prim.BBOX, new Rectangle(-30, 80,60,80)));68 TopCross.add(new Instr(Prim.BBOX, new Rectangle(-30,-80,60,80))); 69 69 ArrayList<Instr> colours = new ArrayList<Instr>(); 70 70 Path2D.Double p = new Path2D.Double(); p.moveTo(-5.0,-15.0); p.lineTo(-5.0,-32.5); p.lineTo(-22.5,-32.5); p.lineTo(-22.5,-42.5); p.lineTo(-5.0,-42.5); … … 82 82 public static final ArrayList<Instr> TopEast = new ArrayList<Instr>(); 83 83 static { 84 TopEast.add(new Instr(Prim.BBOX, new Rectangle(-30, 80,60,80)));84 TopEast.add(new Instr(Prim.BBOX, new Rectangle(-30,-80,60,80))); 85 85 ArrayList<Instr> colours = new ArrayList<Instr>(); 86 86 Path2D.Double p = new Path2D.Double(); p.moveTo(0.0,-80.0); p.lineTo(-15.0,-47.0); p.lineTo(15.0,-47.0); p.closePath(); … … 100 100 public static final ArrayList<Instr> TopIsol = new ArrayList<Instr>(); 101 101 static { 102 TopIsol.add(new Instr(Prim.BBOX, new Rectangle(-30, 80,60,80)));102 TopIsol.add(new Instr(Prim.BBOX, new Rectangle(-30,-80,60,80))); 103 103 ArrayList<Instr> colours = new ArrayList<Instr>(); 104 104 Path2D.Double p = new Path2D.Double(); p.moveTo(-13.0,-55.0); p.curveTo(-13.0, -72.3, 13.0, -72.3, 13.0,-55.0); p.curveTo(13.0, -37.7, -13.0, -37.7, -13.0,-55.0); p.closePath(); … … 116 116 public static final ArrayList<Instr> TopMooring = new ArrayList<Instr>(); 117 117 static { 118 TopMooring.add(new Instr(Prim.BBOX, new Rectangle(-30, 80,60,80)));118 TopMooring.add(new Instr(Prim.BBOX, new Rectangle(-30,-80,60,80))); 119 119 TopMooring.add(new Instr(Prim.STRK, new BasicStroke(3.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 120 120 TopMooring.add(new Instr(Prim.FILL, Color.black)); … … 124 124 public static final ArrayList<Instr> TopNorth = new ArrayList<Instr>(); 125 125 static { 126 TopNorth.add(new Instr(Prim.BBOX, new Rectangle(-30, 80,60,80)));126 TopNorth.add(new Instr(Prim.BBOX, new Rectangle(-30,-80,60,80))); 127 127 ArrayList<Instr> colours = new ArrayList<Instr>(); 128 128 Path2D.Double p = new Path2D.Double(); p.moveTo(0.0,-78.0); p.lineTo(-15.0,-45.0); p.lineTo(15.0,-45.0); p.closePath(); … … 141 141 public static final ArrayList<Instr> TopSouth = new ArrayList<Instr>(); 142 142 static { 143 TopSouth.add(new Instr(Prim.BBOX, new Rectangle(-30, 80,60,80)));143 TopSouth.add(new Instr(Prim.BBOX, new Rectangle(-30,-80,60,80))); 144 144 ArrayList<Instr> colours = new ArrayList<Instr>(); 145 145 Path2D.Double p = new Path2D.Double(); p.moveTo(-15.0,-78.0); p.lineTo(0.0,-45.0); p.lineTo(15.0,-78.0); p.closePath(); … … 158 158 public static final ArrayList<Instr> TopSphere = new ArrayList<Instr>(); 159 159 static { 160 TopSphere.add(new Instr(Prim.BBOX, new Rectangle(-30, 80,60,80)));160 TopSphere.add(new Instr(Prim.BBOX, new Rectangle(-30,-80,60,80))); 161 161 ArrayList<Instr> colours = new ArrayList<Instr>(); 162 162 Path2D.Double p = new Path2D.Double(); p.moveTo(-14.0,-28.0); p.curveTo(-14.0,-46.7,14.0,-46.7,14.0,-28.0); p.curveTo(14.0,-9.3,-14.0,-9.3,-14.0,-28.0); p.closePath(); … … 171 171 public static final ArrayList<Instr> TopSquare = new ArrayList<Instr>(); 172 172 static { 173 TopSquare.add(new Instr(Prim.BBOX, new Rectangle(-20, 80,40,80)));173 TopSquare.add(new Instr(Prim.BBOX, new Rectangle(-20,-80,40,80))); 174 174 ArrayList<Instr> colours = new ArrayList<Instr>(); 175 175 Path2D.Double p = new Path2D.Double(); p.moveTo(-13.0,-1.0); p.lineTo(-13.0,-27.0); p.lineTo(13.0,-27.0); p.lineTo(13.0,-1.0); p.closePath(); … … 183 183 public static final ArrayList<Instr> TopTriangle = new ArrayList<Instr>(); 184 184 static { 185 TopTriangle.add(new Instr(Prim.BBOX, new Rectangle(-20, 80,40,80)));185 TopTriangle.add(new Instr(Prim.BBOX, new Rectangle(-20,-80,40,80))); 186 186 ArrayList<Instr> colours = new ArrayList<Instr>(); 187 187 Path2D.Double p = new Path2D.Double(); p.moveTo(-15.0,-1.0); p.lineTo(0.0,-29.0); p.lineTo(15.0,-1.0); p.closePath(); … … 195 195 public static final ArrayList<Instr> TopWest = new ArrayList<Instr>(); 196 196 static { 197 TopWest.add(new Instr(Prim.BBOX, new Rectangle(-30, 80,60,80)));197 TopWest.add(new Instr(Prim.BBOX, new Rectangle(-30,-80,60,80))); 198 198 ArrayList<Instr> colours = new ArrayList<Instr>(); 199 199 Path2D.Double p = new Path2D.Double(); p.moveTo(-15.0,-78.0); p.lineTo(0.0,-45.0); p.lineTo(15.0,-78.0); p.closePath(); … … 212 212 public static final ArrayList<Instr> TopX = new ArrayList<Instr>(); 213 213 static { 214 TopX.add(new Instr(Prim.BBOX, new Rectangle(-30, 80,60,80)));214 TopX.add(new Instr(Prim.BBOX, new Rectangle(-30,-80,60,80))); 215 215 ArrayList<Instr> colours = new ArrayList<Instr>(); 216 216 Path2D.Double p = new Path2D.Double(); p.moveTo(0.0,-27.7); p.lineTo(-12.4,-15.7); p.lineTo(-19.3,-22.6); p.lineTo(-7.3,-35.0); p.lineTo(-19.3,-47.3);
Note:
See TracChangeset
for help on using the changeset viewer.