Ignore:
Timestamp:
2013-01-10T00:56:38+01:00 (13 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

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

    r29176 r29185  
    1212import java.awt.BasicStroke;
    1313import java.awt.Color;
     14import java.awt.geom.Arc2D;
    1415import java.awt.geom.Ellipse2D;
    1516import java.awt.geom.GeneralPath;
     
    6162                Cairn.add(new Instr(Prim.ELPS, new Ellipse2D.Double(-18,-70,36,36)));
    6263        }
     64        public static final ArrayList<Instr> FogSignal = new ArrayList<Instr>();
     65        static {
     66                FogSignal.add(new Instr(Prim.STRK, new BasicStroke(3.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND)));
     67                FogSignal.add(new Instr(Prim.FILL, Color.black));
     68                FogSignal.add(new Instr(Prim.ELPS, new Ellipse2D.Double(-10,-10,20,20)));
     69                FogSignal.add(new Instr(Prim.STRK, new BasicStroke(10.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND)));
     70                FogSignal.add(new Instr(Prim.FILL, new Color(0xd400d4)));
     71                FogSignal.add(new Instr(Prim.EARC, new Arc2D.Double(-120.0,-120.0,240.0,240.0,190.0,50.0,Arc2D.OPEN)));
     72                FogSignal.add(new Instr(Prim.EARC, new Arc2D.Double(-92.5,-92.5,185.0,185.0,190.0,50.0,Arc2D.OPEN)));
     73                FogSignal.add(new Instr(Prim.EARC, new Arc2D.Double(-65.0,-65.0,130.0,130.0,190.0,50.0,Arc2D.OPEN)));
     74        }
     75        public static final ArrayList<Instr> LightFlare = new ArrayList<Instr>();
     76        static {
     77                LightFlare.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-3,-3,6,6)));
     78                Path2D.Double p = new Path2D.Double();
     79                p.moveTo(0.0,-25.0); p.lineTo(15.0,-95.0); p.curveTo(20.0,-123.0,-20.0,-123.0,-15.0,-95.0);
     80                p.closePath();
     81                LightFlare.add(new Instr(Prim.PGON, p));
     82        }
    6383        public static final ArrayList<Instr> LightMajor = new ArrayList<Instr>();
    6484        static {
     
    95115                PerchStarboard.add(new Instr(Prim.LINE, new Line2D.Double(-25,-40,0,-68.7)));
    96116        }
     117        public static final ArrayList<Instr> RadarStation = new ArrayList<Instr>();
     118        static {
     119                RadarStation.add(new Instr(Prim.STRK, new BasicStroke(2.5f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND)));
     120                RadarStation.add(new Instr(Prim.FILL, new Color(0xd400d4)));
     121                RadarStation.add(new Instr(Prim.ELPS, new Ellipse2D.Double(-125,-125,250,250)));
     122        }
    97123        public static final ArrayList<Instr> Stake = new ArrayList<Instr>();
    98124        static {
     
    111137                p = new Path2D.Double(); p.moveTo(-2.0,-17.5); p.lineTo(-2.0,-35.0); p.lineTo(2.0,-35.0); p.lineTo(2.0,-17.5); p.closePath();
    112138                colours.add(new Instr(Prim.H5, p));
    113     Stake.add(new Instr(Prim.COLR, colours));
     139                Stake.add(new Instr(Prim.COLR, colours));
    114140                Stake.add(new Instr(Prim.FILL, Color.black));
    115141                Stake.add(new Instr(Prim.LINE, new Line2D.Double(-10,0,10,0)));
Note: See TracChangeset for help on using the changeset viewer.