Changeset 29120 in osm for applications/editors/josm/plugins/smed2/src/symbols/Landmarks.java
- Timestamp:
- 2012-12-26T14:12:40+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/symbols/Landmarks.java
r29114 r29120 34 34 public static final ArrayList<Instr> Chimney = new ArrayList<Instr>(); 35 35 static { 36 Chimney.add(new Instr(Prim.SYMB, Landmarks.Base));37 Base.add(new Instr(Prim.STRK, new BasicStroke(4.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));36 Chimney.add(new Instr(Prim.SYMB, new Symbols.Symbol(Landmarks.Base, 1.0, 0, 0, null, null))); 37 Chimney.add(new Instr(Prim.STRK, new BasicStroke(4.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 38 38 Chimney.add(new Instr(Prim.FILL, Color.black)); 39 39 Path2D.Double p = new Path2D.Double(); p.moveTo(-25.0,0.0); p.lineTo(-10.0,-120.0); p.lineTo(10.0,-120.0); p.lineTo(25.0,0.0); … … 62 62 public static final ArrayList<Instr> Cross = new ArrayList<Instr>(); 63 63 static { 64 Cross.add(new Instr(Prim.SYMB, Landmarks.Base));64 Cross.add(new Instr(Prim.SYMB, new Symbols.Symbol(Landmarks.Base, 1.0, 0, 0, null, null))); 65 65 Cross.add(new Instr(Prim.STRK, new BasicStroke(6.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 66 66 Cross.add(new Instr(Prim.FILL, Color.black)); … … 70 70 public static final ArrayList<Instr> DishAerial = new ArrayList<Instr>(); 71 71 static { 72 DishAerial.add(new Instr(Prim.SYMB, Landmarks.Base));72 DishAerial.add(new Instr(Prim.SYMB, new Symbols.Symbol(Landmarks.Base, 1.0, 0, 0, null, null))); 73 73 DishAerial.add(new Instr(Prim.STRK, new BasicStroke(4.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEVEL))); 74 74 DishAerial.add(new Instr(Prim.FILL, Color.black)); … … 82 82 Dome.add(new Instr(Prim.FILL, Color.black)); 83 83 Dome.add(new Instr(Prim.ELPS, new Ellipse2D.Double(-36,-36,72,72))); 84 Dome.add(new Instr(Prim. ELPS, new Ellipse2D.Double(-2,-2,4,4)));84 Dome.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-4,-4,8,8))); 85 85 } 86 86 public static final ArrayList<Instr> Flagstaff = new ArrayList<Instr>(); 87 87 static { 88 Flagstaff.add(new Instr(Prim.SYMB, Landmarks.Base));88 Flagstaff.add(new Instr(Prim.SYMB, new Symbols.Symbol(Landmarks.Base, 1.0, 0, 0, null, null))); 89 89 Flagstaff.add(new Instr(Prim.STRK, new BasicStroke(4.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 90 90 Flagstaff.add(new Instr(Prim.FILL, Color.black)); … … 94 94 public static final ArrayList<Instr> FlareStack = new ArrayList<Instr>(); 95 95 static { 96 FlareStack.add(new Instr(Prim.SYMB, Landmarks.Base));96 FlareStack.add(new Instr(Prim.SYMB, new Symbols.Symbol(Landmarks.Base, 1.0, 0, 0, null, null))); 97 97 FlareStack.add(new Instr(Prim.STRK, new BasicStroke(4.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 98 98 FlareStack.add(new Instr(Prim.FILL, Color.black)); … … 105 105 public static final ArrayList<Instr> LandTower = new ArrayList<Instr>(); 106 106 static { 107 LandTower.add(new Instr(Prim.SYMB, Landmarks.Base));107 LandTower.add(new Instr(Prim.SYMB, new Symbols.Symbol(Landmarks.Base, 1.0, 0, 0, null, null))); 108 108 LandTower.add(new Instr(Prim.STRK, new BasicStroke(4.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 109 109 LandTower.add(new Instr(Prim.FILL, Color.black)); … … 114 114 public static final ArrayList<Instr> Mast = new ArrayList<Instr>(); 115 115 static { 116 Mast.add(new Instr(Prim.SYMB, Landmarks.Base));116 Mast.add(new Instr(Prim.SYMB, new Symbols.Symbol(Landmarks.Base, 1.0, 0, 0, null, null))); 117 117 Mast.add(new Instr(Prim.STRK, new BasicStroke(4.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEVEL))); 118 118 Mast.add(new Instr(Prim.FILL, Color.black)); … … 122 122 public static final ArrayList<Instr> RadioMast = new ArrayList<Instr>(); 123 123 static { 124 RadioMast.add(new Instr(Prim.SYMB, Landmarks.Mast));124 RadioMast.add(new Instr(Prim.SYMB, new Symbols.Symbol(Landmarks.Mast, 1.0, 0, 0, null, null))); 125 125 RadioMast.add(new Instr(Prim.STRK, new BasicStroke(4.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_BEVEL))); 126 126 RadioMast.add(new Instr(Prim.FILL, Color.black)); … … 132 132 public static final ArrayList<Instr> Monument = new ArrayList<Instr>(); 133 133 static { 134 Monument.add(new Instr(Prim.SYMB, Landmarks.Base));134 Monument.add(new Instr(Prim.SYMB, new Symbols.Symbol(Landmarks.Base, 1.0, 0, 0, null, null))); 135 135 Monument.add(new Instr(Prim.STRK, new BasicStroke(4.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_MITER))); 136 136 Monument.add(new Instr(Prim.FILL, Color.black)); … … 144 144 Platform.add(new Instr(Prim.FILL, Color.black)); 145 145 Platform.add(new Instr(Prim.RECT, new Rectangle2D.Double(-48,-48,96,96))); 146 Platform.add(new Instr(Prim. ELPS, new Ellipse2D.Double(-2,-2,4,4)));146 Platform.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-4,-4,8,8))); 147 147 } 148 148 public static final ArrayList<Instr> Spire = new ArrayList<Instr>(); … … 151 151 Spire.add(new Instr(Prim.FILL, Color.black)); 152 152 Spire.add(new Instr(Prim.ELPS, new Ellipse2D.Double(-25,-25,50,50))); 153 Spire.add(new Instr(Prim. ELPS, new Ellipse2D.Double(-2,-2,4,4)));153 Spire.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-4,-4,8,8))); 154 154 } 155 155 public static final ArrayList<Instr> Minaret = new ArrayList<Instr>(); 156 156 static { 157 Minaret.add(new Instr(Prim.SYMB, Landmarks.Spire));157 Minaret.add(new Instr(Prim.SYMB, new Symbols.Symbol(Landmarks.Spire, 1.0, 0, 0, null, null))); 158 158 Minaret.add(new Instr(Prim.STRK, new BasicStroke(6.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 159 159 Minaret.add(new Instr(Prim.LINE, new Line2D.Double(0,-25,0,-50))); … … 171 171 public static final ArrayList<Instr> WaterTower = new ArrayList<Instr>(); 172 172 static { 173 WaterTower.add(new Instr(Prim.SYMB, Landmarks.Base));173 WaterTower.add(new Instr(Prim.SYMB, new Symbols.Symbol(Landmarks.Base, 1.0, 0, 0, null, null))); 174 174 WaterTower.add(new Instr(Prim.STRK, new BasicStroke(4.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 175 175 WaterTower.add(new Instr(Prim.FILL, Color.black)); … … 180 180 public static final ArrayList<Instr> WindMotor = new ArrayList<Instr>(); 181 181 static { 182 WindMotor.add(new Instr(Prim.SYMB, Landmarks.Base));182 WindMotor.add(new Instr(Prim.SYMB, new Symbols.Symbol(Landmarks.Base, 1.0, 0, 0, null, null))); 183 183 WindMotor.add(new Instr(Prim.STRK, new BasicStroke(4.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_MITER))); 184 184 WindMotor.add(new Instr(Prim.FILL, Color.black)); … … 198 198 public static final ArrayList<Instr> Windsock = new ArrayList<Instr>(); 199 199 static { 200 Windsock.add(new Instr(Prim.SYMB, Landmarks.Base));200 Windsock.add(new Instr(Prim.SYMB, new Symbols.Symbol(Landmarks.Base, 1.0, 0, 0, null, null))); 201 201 Windsock.add(new Instr(Prim.STRK, new BasicStroke(4.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_MITER))); 202 202 Windsock.add(new Instr(Prim.FILL, Color.black));
Note:
See TracChangeset
for help on using the changeset viewer.