Ignore:
Timestamp:
2020-03-29T23:03:21+02:00 (5 years ago)
Author:
malcolmh
Message:

more map features

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/symbols/Areas.java

    r32907 r35404  
    3333        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();
    3434        Plane.add(new Instr(Form.PGON, p));
     35    }
     36
     37    public static final Symbol LimitDash = new Symbol();
     38    static {
     39        LimitDash.add(new Instr(Form.BBOX, new Rectangle2D.Double(-30, -30, 60, 60)));
     40        LimitDash.add(new Instr(Form.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
     41        LimitDash.add(new Instr(Form.LINE, new Line2D.Double(0, -30, 0, 30)));
     42    }
     43
     44    public static final Symbol LimitCC = new Symbol();
     45    static {
     46        LimitCC.add(new Instr(Form.BBOX, new Rectangle2D.Double(-30, -240, 60, 240)));
     47        LimitCC.add(new Instr(Form.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
     48        LimitCC.add(new Instr(Form.LINE, new Line2D.Double(0, -200, 0, -160)));
     49        LimitCC.add(new Instr(Form.LINE, new Line2D.Double(-20, -180, 20, -180)));
     50        LimitCC.add(new Instr(Form.LINE, new Line2D.Double(0, -80, 0, -120)));
     51        LimitCC.add(new Instr(Form.LINE, new Line2D.Double(-20, -100, 20, -100)));
    3552    }
    3653
Note: See TracChangeset for help on using the changeset viewer.