Ignore:
Timestamp:
2013-10-28T12:52:49+01:00 (13 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

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

    r30029 r30033  
    3232                Cable.add(new Instr(Prim.PLIN, p));
    3333        }
     34        public static final Symbol CableDot = new Symbol();
     35        static {
     36                CableDot.add(new Instr(Prim.BBOX, new Rectangle2D.Double(-30,-60,60,60)));
     37                CableDot.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-10,-40,20,20)));
     38        }
     39        public static final Symbol CableDash = new Symbol();
     40        static {
     41                CableDash.add(new Instr(Prim.BBOX, new Rectangle2D.Double(-30,-60,60,60)));
     42                CableDash.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
     43                CableDash.add(new Instr(Prim.LINE, new Line2D.Double(0,-15,0,-45)));
     44        }
     45        public static final Symbol CableFlash = new Symbol();
     46        static {
     47                CableFlash.add(new Instr(Prim.BBOX, new Rectangle2D.Double(-30,-60,60,60)));
     48                Path2D.Double p = new Path2D.Double(); p.moveTo(-30,-25); p.lineTo(-10,-40); p.lineTo(10,-26); p.lineTo(30,-35); p.lineTo(10,-20); p.lineTo(-10,-34); p.closePath();
     49                CableFlash.add(new Instr(Prim.PGON, p));
     50        }
    3451        public static final Symbol LaneArrow = new Symbol();
    3552        static {
     
    4461        static {
    4562                LineAnchor.add(new Instr(Prim.BBOX, new Rectangle2D.Double(-30,-60,60,90)));
    46                 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)));
     63                LineAnchor.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Harbours.Anchor, 0.5, 0, 0, null, new Delta(Handle.CC, AffineTransform.getRotateInstance(Math.toRadians(-90.0))))));
    4764        }
    4865        public static final Symbol LinePlane = new Symbol();
    4966        static {
    5067                LinePlane.add(new Instr(Prim.FILL, new Color(0xc480ff)));
    51                 LinePlane.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Areas.Plane, 0.5, 0, 0, new Delta(Handle.CC, AffineTransform.getRotateInstance(Math.toRadians(-90.0))), null)));
     68                LinePlane.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Areas.Plane, 0.5, 0, 0, null, new Delta(Handle.CC, AffineTransform.getRotateInstance(Math.toRadians(-90.0))))));
    5269        }
    5370        public static final Symbol MarineFarm = new Symbol();
Note: See TracChangeset for help on using the changeset viewer.