Changeset 30022 in osm for applications/editors/josm/plugins/smed2/src/symbols/Areas.java
- Timestamp:
- 2013-10-13T19:17:33+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/symbols/Areas.java
r30020 r30022 20 20 static { 21 21 Plane.add(new Instr(Prim.BBOX, new Rectangle(-60,-60,120,120))); 22 Plane.add(new Instr(Prim.FILL, new Color(0xa30075))); 22 23 Path2D.Double p = new Path2D.Double(); p.moveTo(40,20); p.lineTo(50,10); p.lineTo(27.0,13.3); p.lineTo(23.7,6.8); p.lineTo(40.0,5.0); p.curveTo(55,4,55,-9,40,-10); 23 24 p.quadTo(31,-11,30,-15); p.lineTo(-30,2); p.quadTo(-35,-12,-45,-15); p.quadTo(-56,-3,-50,15); p.lineTo(18.4,7.3); p.lineTo(21.7,14); p.lineTo(-20,20); p.closePath(); … … 44 45 static { 45 46 LineAnchor.add(new Instr(Prim.BBOX, new Rectangle(-30,-60,60,90))); 46 LineAnchor.add(new Instr(Prim.FILL, new Color(0xc480ff)));47 47 LineAnchor.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Harbours.Anchor, 0.5, 0, 0, new Delta(Handle.CC, AffineTransform.getRotateInstance(Math.toRadians(-90.0))), null))); 48 48 } … … 55 55 static { 56 56 MarineFarm.add(new Instr(Prim.STRK, new BasicStroke(3, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND))); 57 MarineFarm.add(new Instr(Prim.FILL, Color.black));58 57 Path2D.Double p = new Path2D.Double(); p.moveTo(-23,12); p.lineTo(-23,23); p.lineTo(23,23); p.lineTo(23,12); p.moveTo(-8,15); p.lineTo(-8,23); p.moveTo(8,15); p.lineTo(8,23); 59 58 p.moveTo(-23,-12); p.lineTo(-23,-23); p.lineTo(23,-23); p.lineTo(23,-12); p.moveTo(-8,-15); p.lineTo(-8,-23); p.moveTo(8,-15); p.lineTo(8,-23); … … 84 83 Restricted.add(new Instr(Prim.BBOX, new Rectangle(-15,-30,30,30))); 85 84 Restricted.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND))); 86 Restricted.add(new Instr(Prim.FILL, new Color(0xc480ff)));87 85 Restricted.add(new Instr(Prim.LINE, new Line2D.Double(0,0,0,-30))); 88 86 Restricted.add(new Instr(Prim.LINE, new Line2D.Double(0,-15,17,-15))); … … 136 134 static { 137 135 WindFarm.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 138 WindFarm.add(new Instr(Prim.FILL, Color.black));139 136 WindFarm.add(new Instr(Prim.ELPS, new Ellipse2D.Double(-100,-100,200,200))); 140 137 WindFarm.add(new Instr(Prim.LINE, new Line2D.Double(-35,50,35,50))); … … 160 157 static { 161 158 WreckND.add(new Instr(Prim.STRK, new BasicStroke(5, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 162 WreckND.add(new Instr(Prim.FILL, Color.black));163 159 WreckND.add(new Instr(Prim.LINE, new Line2D.Double(-40,0,40,0))); 164 160 WreckND.add(new Instr(Prim.LINE, new Line2D.Double(0,-30,0,30))); … … 169 165 static { 170 166 WreckS.add(new Instr(Prim.STRK, new BasicStroke(3, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 171 WreckS.add(new Instr(Prim.FILL, Color.black));172 167 WreckS.add(new Instr(Prim.ELPS, new Ellipse2D.Double(-6,-6,12,12))); 173 168 WreckS.add(new Instr(Prim.LINE, new Line2D.Double(-40,0,-6,0)));
Note:
See TracChangeset
for help on using the changeset viewer.