Ignore:
Timestamp:
2013-10-26T13:45:17+02:00 (11 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

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

    r30024 r30029  
    1212import java.awt.BasicStroke;
    1313import java.awt.Color;
    14 import java.awt.Rectangle;
    1514import java.awt.geom.*;
    1615
     
    2019        public static final Symbol Anchor = new Symbol();
    2120        static {
    22                 Anchor.add(new Instr(Prim.BBOX, new Rectangle(-60,-60,120,120)));
     21                Anchor.add(new Instr(Prim.BBOX, new Rectangle2D.Double(-60,-60,120,120)));
    2322                Anchor.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
    2423                Anchor.add(new Instr(Prim.ELPS, new Ellipse2D.Double(-10,-59,20,20)));
     
    6160        public static final Symbol Customs = new Symbol();
    6261        static {
    63                 Customs.add(new Instr(Prim.BBOX, new Rectangle(-30,-30,60,60)));
     62                Customs.add(new Instr(Prim.BBOX, new Rectangle2D.Double(-30,-30,60,60)));
    6463                Customs.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_MITER)));
    6564                Customs.add(new Instr(Prim.ELPS, new Ellipse2D.Double(-28,-28,56,56)));
     
    9796        public static final Symbol Explosives = new Symbol();
    9897        static {
    99                 Explosives.add(new Instr(Prim.BBOX, new Rectangle(-30,-30,60,60)));
     98                Explosives.add(new Instr(Prim.BBOX, new Rectangle2D.Double(-30,-30,60,60)));
    10099                Explosives.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-5,25,10,10)));
    101100                Explosives.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
     
    120119        public static final Symbol Hospital = new Symbol();
    121120        static {
    122                 Hospital.add(new Instr(Prim.BBOX, new Rectangle(-30,-30,60,60)));
     121                Hospital.add(new Instr(Prim.BBOX, new Rectangle2D.Double(-30,-30,60,60)));
    123122                Hospital.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_MITER)));
    124123                Hospital.add(new Instr(Prim.ELPS, new Ellipse2D.Double(-28,-28,56,56)));
Note: See TracChangeset for help on using the changeset viewer.