Changeset 33936 in osm for applications/editors/josm/plugins/seachart/src/symbols/Beacons.java
- Timestamp:
- 2017-12-07T19:16:59+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/symbols/Beacons.java
r33199 r33936 61 61 Cairn.add(new Instr(Form.ELPS, new Ellipse2D.Double(-43, -40, 40, 40))); 62 62 Cairn.add(new Instr(Form.ELPS, new Ellipse2D.Double(-18, -70, 36, 36))); 63 } 64 65 public static final Symbol Floodlight = new Symbol(); 66 static { 67 Floodlight.add(new Instr(Form.BBOX, new Rectangle2D.Double(-20, -100, 100, 100))); 68 Floodlight.add(new Instr(Form.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND))); 69 Floodlight.add(new Instr(Form.FILL, new Color(0xffa000))); 70 Path2D.Double p = new Path2D.Double(); p.moveTo(0, 0); p.lineTo(-34, -15); p.quadTo(-35, -31, -20, -31); p.lineTo(0, 0); 71 p.moveTo(-20, -31); p.quadTo(-13, -44, 0, -36); p.lineTo(0, 0); 72 p.moveTo(0, -36); p.quadTo(13, -44, 20, -31); p.lineTo(0, 0); 73 p.moveTo(20, -31); p.quadTo(35, -31, 34, -15); p.lineTo(0, 0); 74 Floodlight.add(new Instr(Form.PLIN, p)); 63 75 } 64 76
Note:
See TracChangeset
for help on using the changeset viewer.