Changeset 29881 in osm for applications
- Timestamp:
- 2013-08-30T05:02:19+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/smed2/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/panels/PanelMain.java
r29215 r29881 16 16 public class PanelMain extends JPanel { 17 17 18 private JTabbedPane tabs = null;19 // public PanelF panelF = null;20 18 public static JTextField messageBar = null; 21 19 public JButton saveButton = null; 22 20 private ActionListener alSave = new ActionListener() { 23 21 public void actionPerformed(java.awt.event.ActionEvent e) { 24 // item.saveSign(???);25 22 } 26 23 }; … … 57 54 }; 58 55 56 public ButtonGroup sectionButtons = null; 57 public JRadioButton eButton = new JRadioButton(); 58 public JRadioButton fButton = new JRadioButton(); 59 public JRadioButton jButton = new JRadioButton(); 60 public JRadioButton kButton = new JRadioButton(); 61 public JRadioButton lButton = new JRadioButton(); 62 public JRadioButton mButton = new JRadioButton(); 63 public JRadioButton nButton = new JRadioButton(); 64 public JRadioButton pButton = new JRadioButton(); 65 public JRadioButton qButton = new JRadioButton(); 66 public JRadioButton rButton = new JRadioButton(); 67 public JRadioButton sButton = new JRadioButton(); 68 public JRadioButton tButton = new JRadioButton(); 69 public JRadioButton uButton = new JRadioButton(); 70 private ActionListener alSection = new ActionListener() { 71 public void actionPerformed(java.awt.event.ActionEvent e) { 72 if (eButton.isSelected()) { 73 eButton.setBorderPainted(true); 74 } else { 75 eButton.setBorderPainted(false); 76 } 77 if (fButton.isSelected()) { 78 fButton.setBorderPainted(true); 79 } else { 80 fButton.setBorderPainted(false); 81 } 82 if (jButton.isSelected()) { 83 jButton.setBorderPainted(true); 84 } else { 85 jButton.setBorderPainted(false); 86 } 87 if (kButton.isSelected()) { 88 kButton.setBorderPainted(true); 89 } else { 90 kButton.setBorderPainted(false); 91 } 92 } 93 }; 94 59 95 public PanelMain() { 60 96 61 97 setLayout(null); 62 98 setSize(new Dimension(480, 480)); 63 tabs = new JTabbedPane(JTabbedPane.TOP);64 tabs.setBounds(new Rectangle(0, 0, 480, 420));65 66 // JPanel panelF = new PanelF();67 // tabs.addTab(null, new ImageIcon(getClass().getResource("/images/tabF.png")), panelF, Messages.getString("Ports"));68 69 add(tabs);70 99 71 100 messageBar = new JTextField(); … … 88 117 saveButton.addActionListener(alSave); 89 118 119 add(getButton(eButton, 0, 0, 200, 20, "E Landmarks"), null); 120 add(getButton(fButton, 0, 20, 200, 20, "F Ports"), null); 121 add(getButton(jButton, 0, 40, 200, 20, "J Seabed"), null); 122 add(getButton(kButton, 0, 60, 200, 20, "K Obstructions"), null); 123 add(getButton(lButton, 0, 80, 200, 20, "L Obstructions"), null); 124 add(getButton(mButton, 0, 100, 200, 20, "M Offshore Installations"), null); 125 add(getButton(nButton, 0, 120, 200, 20, "N Areas & Limits"), null); 126 add(getButton(pButton, 0, 140, 200, 20, "P Lights"), null); 127 add(getButton(qButton, 0, 160, 200, 20, "Q Buoys & Beacons"), null); 128 add(getButton(rButton, 0, 180, 200, 20, "R Fog Sigals"), null); 129 add(getButton(sButton, 0, 200, 200, 20, "S Radio & Radar"), null); 130 add(getButton(tButton, 0, 220, 200, 20, "T Services"), null); 131 add(getButton(uButton, 0, 240, 200, 20, "U Small Craft Facilities"), null); 132 sectionButtons = new ButtonGroup(); 133 sectionButtons.add(eButton); 134 sectionButtons.add(fButton); 135 sectionButtons.add(jButton); 136 sectionButtons.add(kButton); 137 sectionButtons.add(lButton); 138 sectionButtons.add(mButton); 139 sectionButtons.add(nButton); 140 sectionButtons.add(pButton); 141 sectionButtons.add(qButton); 142 sectionButtons.add(rButton); 143 sectionButtons.add(sButton); 144 sectionButtons.add(tButton); 145 sectionButtons.add(uButton); 146 eButton.addActionListener(alSection); 147 fButton.addActionListener(alSection); 148 jButton.addActionListener(alSection); 149 kButton.addActionListener(alSection); 150 lButton.addActionListener(alSection); 151 mButton.addActionListener(alSection); 152 nButton.addActionListener(alSection); 153 pButton.addActionListener(alSection); 154 qButton.addActionListener(alSection); 155 rButton.addActionListener(alSection); 156 sButton.addActionListener(alSection); 157 tButton.addActionListener(alSection); 158 uButton.addActionListener(alSection); 90 159 } 160 161 private JRadioButton getButton(JRadioButton button, int x, int y, int w, int h, String title) { 162 button.setBounds(new Rectangle(x, y, w, h)); 163 button.setBorder(BorderFactory.createLoweredBevelBorder()); 164 button.setText(title); 165 return button; 166 } 167 91 168 } -
applications/editors/josm/plugins/smed2/src/smed2/Smed2Action.java
r29787 r29881 118 118 editFrame.setResizable(true); 119 119 editFrame.setAlwaysOnTop(true); 120 // editFrame.setVisible(true);120 editFrame.setVisible(false); 121 121 panelMain = new PanelMain(); 122 122 editFrame.add(panelMain); -
applications/editors/josm/plugins/smed2/src/symbols/Notices.java
r29340 r29881 23 23 private static final Symbol Bollard = new Symbol(); 24 24 static { 25 Bollard.add(new Instr(Prim.FILL, Color.black));26 25 Path2D.Double p = new Path2D.Double(); p.moveTo(20,21); p.lineTo(20,16.5); p.lineTo(11.6,16.5); p.quadTo(9.1,9.6,8.3,2.0); p.lineTo(-8.0,-0.3); p.quadTo(-8.6,9.0,-11.3,16.5); 27 26 p.lineTo(-23.5,16.5); p.lineTo(-23.5,21.0); p.closePath(); p.moveTo(23.8,3.0); p.lineTo(-10.7,-1.8); p.curveTo(-13.1,-2.2,-12.8,-6.0,-10.2,-5.8); p.lineTo(23.8,-1.1); … … 30 29 Bollard.add(new Instr(Prim.PGON, p)); 31 30 } 32 private static final Symbol Crossing = new Symbol();33 private static final Symbol CrossingL = new Symbol();34 private static final Symbol CrossingR = new Symbol();35 private static final Symbol Junction = new Symbol();36 private static final Symbol JunctionL = new Symbol();37 private static final Symbol JunctionR = new Symbol();38 31 private static final Symbol Motor = new Symbol(); 39 32 static { 40 Motor.add(new Instr(Prim.FILL, Color.black));41 33 Path2D.Double p = new Path2D.Double(); p.moveTo(-5.0,4.3); p.curveTo(-3.7,5.5,-1.8,5.7,-0.2,4.9); p.curveTo(1.3,8.7,4.6,10.9,8.4,10.9); p.curveTo(14.0,10.9,17.5,6.3,17.5,2.0); 42 34 p.curveTo(17.5,-0.7,16.1,-3.2,14.5,-3.2); p.curveTo(12.5,-3.2,11.7,0.8,2.5,1.1); p.curveTo(2.5,-1.2,1.6,-2.2,0.6,-3.0); p.curveTo(3.2,-5.6,4.0,-12.6,-1.0,-16.1); … … 45 37 Motor.add(new Instr(Prim.PGON, p)); 46 38 } 47 private static final Symbol Proceed = new Symbol();48 39 private static final Symbol Rowboat = new Symbol(); 40 static { 41 Path2D.Double p = new Path2D.Double(); p.moveTo(-17.5,-2.0); p.lineTo(17.5,-2.0); p.lineTo(15.0,6.0); p.lineTo(-11.0,6.0); p.closePath(); 42 Rowboat.add(new Instr(Prim.PGON, p)); 43 Rowboat.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-6,-17.5,6,6))); 44 Rowboat.add(new Instr(Prim.STRK, new BasicStroke(5, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND))); 45 Rowboat.add(new Instr(Prim.LINE, new Line2D.Double(-5.5,-9,-8,0))); 46 Rowboat.add(new Instr(Prim.LINE, new Line2D.Double(-5.0,10.0,-7.5,14.0))); 47 Rowboat.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND))); 48 Rowboat.add(new Instr(Prim.LINE, new Line2D.Double(-5.5,-9,7,-6.5))); 49 Rowboat.add(new Instr(Prim.LINE, new Line2D.Double(7.3,-7.8,-5.0,10.0))); 50 } 49 51 private static final Symbol Sailboard = new Symbol(); 52 static { 53 Path2D.Double p = new Path2D.Double(); p.moveTo(-6.0,19.0); p.quadTo(-4.0,-5,1.5,-20.0); p.quadTo(14,-7,15.5,6.5); p.quadTo(7,17,-6.0,19.0); p.closePath(); 54 Sailboard.add(new Instr(Prim.PGON, p)); 55 Sailboard.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND))); 56 Sailboard.add(new Instr(Prim.LINE, new Line2D.Double(-2,20,-10,20))); 57 Sailboard.add(new Instr(Prim.LINE, new Line2D.Double(-13,2.5,-3,2.5))); 58 Sailboard.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-15,-4,5,5))); 59 Sailboard.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND))); 60 p = new Path2D.Double(); p.moveTo(-13,2.5); p.lineTo(-12,6.0); p.lineTo(-12,9.5); 61 Sailboard.add(new Instr(Prim.PLIN, p)); 62 Sailboard.add(new Instr(Prim.STRK, new BasicStroke(3, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND))); 63 p = new Path2D.Double(); p.moveTo(-12,9.5); p.lineTo(-7.5,13.0); p.lineTo(-6.0,19.0); 64 Sailboard.add(new Instr(Prim.PLIN, p)); 65 } 50 66 private static final Symbol Sailboat = new Symbol(); 67 static { 68 Path2D.Double p = new Path2D.Double(); p.moveTo(3.75,-20.5); p.lineTo(3.75,8.5); p.lineTo(-19.5,8.5); p.closePath(); 69 Sailboat.add(new Instr(Prim.PGON, p)); 70 p = new Path2D.Double(); p.moveTo(-19.5,12.0); p.lineTo(19.5,12.0); p.lineTo(13.0,20.5); p.lineTo(-16.0,20.5); p.closePath(); 71 Sailboat.add(new Instr(Prim.PGON, p)); 72 } 51 73 private static final Symbol Slipway = new Symbol(); 74 static { 75 Path2D.Double p = new Path2D.Double(); p.moveTo(-17,-5.5); p.lineTo(-13.5,0); p.lineTo(4,-1.5); p.quadTo(18,-5,20,-13.5); p.closePath(); 76 p.moveTo(-14,7); p.lineTo(-14,11); p.lineTo(20,11); p.lineTo(20,2); p.closePath(); 77 Slipway.add(new Instr(Prim.PGON, p)); 78 Slipway.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 79 Slipway.add(new Instr(Prim.LINE, new Line2D.Double(-14,3,20,-2.5))); 80 Slipway.add(new Instr(Prim.STRK, new BasicStroke(1, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 81 Slipway.add(new Instr(Prim.ELPS, new Ellipse2D.Double(1,1.5,3,3))); 82 p = new Path2D.Double(); p.moveTo(-21,8.5); p.curveTo(-17.5, 5, -17.5, 12, -13, 7.2); 83 Slipway.add(new Instr(Prim.PLIN, p)); 84 } 52 85 private static final Symbol Speedboat = new Symbol(); 53 private static final Symbol Sport = new Symbol(); 54 static { 55 Sport.add(new Instr(Prim.TEXT, new Caption("SPORT", new Font("Arial", Font.BOLD, 15), Color.black, new Delta(Handle.BC, AffineTransform.getTranslateInstance(0, 0))))); 86 static { 87 Speedboat.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 88 Speedboat.add(new Instr(Prim.LINE, new Line2D.Double(-21,0,-17,-1))); 89 Path2D.Double p = new Path2D.Double(); p.moveTo(-17.5,8.5); p.curveTo(-10.5,13,-2.5,2,4,6); p.curveTo(12,2,11.5,9.5,20,6); 90 Speedboat.add(new Instr(Prim.PLIN, p)); 91 p = new Path2D.Double(); p.moveTo(-18.5,1.5); p.lineTo(-16,6); p.curveTo(-9, 9.0, -3.5, -2.0, 4.5, 3.5); p.lineTo(14.5,0); p.quadTo(19, -3, 19.5, -9); 92 p.lineTo(9.5,-6); p.lineTo(6.5,-8); p.lineTo(2.5,-4); p.closePath(); 93 Speedboat.add(new Instr(Prim.PGON, p)); 94 Speedboat.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-1.5,-13,5,5))); 95 Speedboat.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND))); 96 Speedboat.add(new Instr(Prim.LINE, new Line2D.Double(-2,-7,-5,0))); 97 Speedboat.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND))); 98 Speedboat.add(new Instr(Prim.LINE, new Line2D.Double(-2,-7,5,-5))); 56 99 } 57 100 private static final Symbol Turn = new Symbol(); 58 101 static { 59 102 Turn.add(new Instr(Prim.STRK, new BasicStroke(5, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 60 Turn.add(new Instr(Prim.FILL, Color.black));61 103 Turn.add(new Instr(Prim.EARC, new Arc2D.Double(-9.0,-9.0,18.0,18.0,270.0,230.0,Arc2D.OPEN))); 62 104 Turn.add(new Instr(Prim.EARC, new Arc2D.Double(-20.0,-20.0,40.0,40.0,315.0,-280.0,Arc2D.OPEN))); … … 65 107 Turn.add(new Instr(Prim.PGON, p)); 66 108 } 67 private static final Symbol VHF = new Symbol();68 static {69 VHF.add(new Instr(Prim.TEXT, new Caption("VHF", new Font("Arial", Font.BOLD, 20), Color.black, new Delta(Handle.BC, AffineTransform.getTranslateInstance(0, 0)))));70 }71 109 private static final Symbol Waterbike = new Symbol(); 110 static { 111 Path2D.Double p = new Path2D.Double(); p.moveTo(-17.5,13); p.curveTo(-10.5,17.5,-2.5,6.5,4,10.5); p.curveTo(12,6.5,11.5,14,20,10.5); 112 Waterbike.add(new Instr(Prim.PLIN, p)); 113 p = new Path2D.Double(); p.moveTo(-16.5,9.5); p.lineTo(-16,10.5); p.curveTo(-9, 13.5, -3.5, 2.5, 4.5, 8); p.quadTo(15, 4, 19.5, -4); p.closePath(); 114 p.moveTo(19.5,-5); p.lineTo(1, -5); p.lineTo(-4.5, -10); p.lineTo(-5.5, -10); p.lineTo(2, -2); p.lineTo(-15, 4); p.lineTo(-16, 8); p.closePath(); 115 Waterbike.add(new Instr(Prim.PGON, p)); 116 Waterbike.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND))); 117 p = new Path2D.Double(); p.moveTo(-7,1); p.lineTo(-7.5,-1.5); p.lineTo(-12.5,-3.5); p.lineTo(-11.5,-10.5); 118 Waterbike.add(new Instr(Prim.PLIN, p)); 119 Waterbike.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND))); 120 Waterbike.add(new Instr(Prim.LINE, new Line2D.Double(-11.5,-10.5,-3,-8.5))); 121 Waterbike.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-11.5,-18,5,5))); 122 } 72 123 private static final Symbol Waterski = new Symbol(); 124 static { 125 Waterski.add(new Instr(Prim.RSHP, new Ellipse2D.Double(12,-18,6,6))); 126 Waterski.add(new Instr(Prim.STRK, new BasicStroke(1, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 127 Waterski.add(new Instr(Prim.LINE, new Line2D.Double(-18,-6,0,-6))); 128 Waterski.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND))); 129 Path2D.Double p = new Path2D.Double(); p.moveTo(6.5,17.5); p.lineTo(-13,14.5); p.curveTo(-15,14.25,-16.0,13.6,-17.5,12.0); 130 Waterski.add(new Instr(Prim.PLIN, p)); 131 Waterski.add(new Instr(Prim.STRK, new BasicStroke(5, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND))); 132 p = new Path2D.Double(); p.moveTo(-1.5,-4.0); p.lineTo(14,-7.5); p.lineTo(9.5,3.5); p.lineTo(2.0,6.0); p.lineTo(-4.4,15.8); 133 Waterski.add(new Instr(Prim.PLIN, p)); 134 } 73 135 private static final Symbol NoticeA = new Symbol(); 74 136 static { … … 101 163 NoticeE.add(new Instr(Prim.FILL, Color.black)); 102 164 NoticeE.add(new Instr(Prim.RRCT, new RoundRectangle2D.Double(-30,-30,60,60,4,4))); 103 }104 165 NoticeE.add(new Instr(Prim.FILL, Color.white)); 166 } 105 167 public static final Symbol Notice = new Symbol(); 168 static { 169 Notice.add(new Instr(Prim.FILL, new Color(0xe80000))); 170 Notice.add(new Instr(Prim.RSHP, new RoundRectangle2D.Double(-30,-30,60,60,4,4))); 171 Notice.add(new Instr(Prim.FILL, new Color(0x0000a0))); 172 Notice.add(new Instr(Prim.RSHP, new Rectangle2D.Double(-21,-21,42,42))); 173 Notice.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 174 Notice.add(new Instr(Prim.FILL, Color.black)); 175 Notice.add(new Instr(Prim.RRCT, new RoundRectangle2D.Double(-30,-30,60,60,4,4))); 176 } 106 177 public static final Symbol NoticeA1 = new Symbol(); 107 178 static { … … 157 228 static { 158 229 NoticeA5.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null))); 159 NoticeA5.add(new Instr(Prim.FILL, Color.black));160 230 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); p.moveTo(-5.3,14.6); p.lineTo(-5.3,4.0); p.lineTo(0.0,4.0); p.curveTo(4.2,4.0,7.4,3.5,9.4,0.0); 161 231 p.curveTo(11.4,-2.8,11.4,-7.2,9.4,-10.5); p.curveTo(7.4,-13.6,4.2,-14.0,0.0,-14.0); p.lineTo(-11.0,-14.0); p.lineTo(-11.0,14.6); p.closePath(); … … 209 279 NoticeA10b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA10a, 1.0, 0, 0, new Delta(Handle.CC, AffineTransform.getRotateInstance(Math.toRadians(180.0))), null))); 210 280 } 211 public static final Symbol NoticeA12 = new Symbol();281 public static final Symbol NoticeA12 = new Symbol(); 212 282 static { 213 283 NoticeA12.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null))); 214 284 NoticeA12.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Motor, 1.0, 0, 0, null, null))); 215 285 } 216 public static final Symbol NoticeA13 = new Symbol();286 public static final Symbol NoticeA13 = new Symbol(); 217 287 static { 218 288 NoticeA13.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null))); 219 NoticeA13.add(new Instr(Prim. SYMB, new Symbols.SubSymbol(Notices.Sport, 1.0, 0, 0, null, null)));220 } 221 public static final Symbol NoticeA14 = new Symbol();289 NoticeA13.add(new Instr(Prim.TEXT, new Caption("SPORT", new Font("Arial", Font.BOLD, 15), Color.black, new Delta(Handle.BC, AffineTransform.getTranslateInstance(0, 5))))); 290 } 291 public static final Symbol NoticeA14 = new Symbol(); 222 292 static { 223 293 NoticeA14.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null))); 224 294 NoticeA14.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Waterski, 1.0, 0, 0, null, null))); 225 295 } 226 public static final Symbol NoticeA15 = new Symbol();296 public static final Symbol NoticeA15 = new Symbol(); 227 297 static { 228 298 NoticeA15.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null))); 229 299 NoticeA15.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Sailboat, 1.0, 0, 0, null, null))); 230 300 } 231 public static final Symbol NoticeA16 = new Symbol();301 public static final Symbol NoticeA16 = new Symbol(); 232 302 static { 233 303 NoticeA16.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null))); 234 304 NoticeA16.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Rowboat, 1.0, 0, 0, null, null))); 235 305 } 236 public static final Symbol NoticeA17 = new Symbol();306 public static final Symbol NoticeA17 = new Symbol(); 237 307 static { 238 308 NoticeA17.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null))); 239 309 NoticeA17.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Sailboard, 1.0, 0, 0, null, null))); 240 310 } 241 public static final Symbol NoticeA18 = new Symbol();311 public static final Symbol NoticeA18 = new Symbol(); 242 312 static { 243 313 NoticeA18.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null))); 244 314 NoticeA18.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Speedboat, 1.0, 0, 0, null, null))); 245 315 } 246 public static final Symbol NoticeA19 = new Symbol();316 public static final Symbol NoticeA19 = new Symbol(); 247 317 static { 248 318 NoticeA19.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null))); 249 319 NoticeA19.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Slipway, 1.0, 0, 0, null, null))); 250 320 } 251 public static final Symbol NoticeA20 = new Symbol();321 public static final Symbol NoticeA20 = new Symbol(); 252 322 static { 253 323 NoticeA20.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null))); … … 255 325 } 256 326 public static final Symbol NoticeB1a = new Symbol(); 327 static { 328 NoticeB1a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 329 Path2D.Double p = new Path2D.Double(); p.moveTo(21,8); p.lineTo(-8,8); p.lineTo(-8,18); p.lineTo(-21,0); 330 p.lineTo(-8,-18); p.lineTo(-8,-8); p.lineTo(21,-8); p.closePath(); 331 NoticeB1a.add(new Instr(Prim.PGON, p)); 332 } 257 333 public static final Symbol NoticeB1b = new Symbol(); 334 static { 335 NoticeB1b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 336 Path2D.Double p = new Path2D.Double(); p.moveTo(-21,8); p.lineTo(8,8); p.lineTo(8,18); p.lineTo(21,0); 337 p.lineTo(8,-18); p.lineTo(8,-8); p.lineTo(-21,-8); p.closePath(); 338 NoticeB1b.add(new Instr(Prim.PGON, p)); 339 } 258 340 public static final Symbol NoticeB2a = new Symbol(); 341 static { 342 NoticeB2a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 343 NoticeB2a.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 344 Path2D.Double p = new Path2D.Double(); p.moveTo(18,21); p.lineTo(18,10); p.lineTo(-15,-10); p.lineTo(-15,-15); 345 NoticeB2a.add(new Instr(Prim.PLIN, p)); 346 p = new Path2D.Double(); p.moveTo(-15,-21); p.lineTo(-21,-15); p.lineTo(-9,-15); p.closePath(); 347 NoticeB2a.add(new Instr(Prim.PGON, p)); 348 } 259 349 public static final Symbol NoticeB2b = new Symbol(); 350 static { 351 NoticeB2b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 352 NoticeB2b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 353 NoticeB2b.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 354 Path2D.Double p = new Path2D.Double(); p.moveTo(-18,21); p.lineTo(-18,10); p.lineTo(15,-10); p.lineTo(15,-15); 355 NoticeB2b.add(new Instr(Prim.PLIN, p)); 356 p = new Path2D.Double(); p.moveTo(15,-21); p.lineTo(21,-15); p.lineTo(9,-15); p.closePath(); 357 NoticeB2b.add(new Instr(Prim.PGON, p)); 358 } 260 359 public static final Symbol NoticeB3a = new Symbol(); 360 static { 361 NoticeB3a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 362 NoticeB3a.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 363 NoticeB3a.add(new Instr(Prim.LINE, new Line2D.Double(-15,21,-15,-15))); 364 Path2D.Double p = new Path2D.Double(); p.moveTo(-15,-21); p.lineTo(-21,-15); p.lineTo(-9,-15); p.closePath(); 365 NoticeB3a.add(new Instr(Prim.PGON, p)); 366 NoticeB3a.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 1.0f, new float[] { 5.5f, 2.4f }, 0.0f))); 367 NoticeB3a.add(new Instr(Prim.LINE, new Line2D.Double(15,-21,15,15))); 368 p = new Path2D.Double(); p.moveTo(15,21); p.lineTo(21,15); p.lineTo(9,15); p.closePath(); 369 NoticeB3a.add(new Instr(Prim.PGON, p)); 370 } 261 371 public static final Symbol NoticeB3b = new Symbol(); 372 static { 373 NoticeB3b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 374 NoticeB3b.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 375 NoticeB3b.add(new Instr(Prim.LINE, new Line2D.Double(15,21,15,-15))); 376 Path2D.Double p = new Path2D.Double(); p.moveTo(15,-21); p.lineTo(21,-15); p.lineTo(9,-15); p.closePath(); 377 NoticeB3b.add(new Instr(Prim.PGON, p)); 378 NoticeB3b.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 1.0f, new float[] { 5.5f, 2.4f }, 0.0f))); 379 NoticeB3b.add(new Instr(Prim.LINE, new Line2D.Double(-15,-21,-15,15))); 380 p = new Path2D.Double(); p.moveTo(-15,21); p.lineTo(-21,15); p.lineTo(-9,15); p.closePath(); 381 NoticeB3b.add(new Instr(Prim.PGON, p)); 382 } 262 383 public static final Symbol NoticeB4a = new Symbol(); 384 static { 385 NoticeB4a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB2a, 1.0, 0, 0, null, null))); 386 NoticeB4a.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 1.0f, new float[] { 5.5f, 2.4f }, 0.0f))); 387 Path2D.Double p = new Path2D.Double(); p.moveTo(18,-21); p.lineTo(18,-10); p.lineTo(-15,10); p.lineTo(-15,15); 388 NoticeB4a.add(new Instr(Prim.PLIN, p)); 389 p = new Path2D.Double(); p.moveTo(-15,21); p.lineTo(-21,15); p.lineTo(-9,15); p.closePath(); 390 NoticeB4a.add(new Instr(Prim.PGON, p)); 391 } 263 392 public static final Symbol NoticeB4b = new Symbol(); 393 static { 394 NoticeB4b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB2b, 1.0, 0, 0, null, null))); 395 NoticeB4b.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 1.0f, new float[] { 5.5f, 2.4f }, 0.0f))); 396 Path2D.Double p = new Path2D.Double(); p.moveTo(-18,-21); p.lineTo(-18,-10); p.lineTo(15,10); p.lineTo(15,15); 397 NoticeB4b.add(new Instr(Prim.PLIN, p)); 398 p = new Path2D.Double(); p.moveTo(15,21); p.lineTo(21,15); p.lineTo(9,15); p.closePath(); 399 NoticeB4b.add(new Instr(Prim.PGON, p)); 400 } 264 401 public static final Symbol NoticeB5 = new Symbol(); 402 static { 403 NoticeB5.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 404 NoticeB5.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_ROUND, BasicStroke.JOIN_MITER))); 405 NoticeB5.add(new Instr(Prim.LINE, new Line2D.Double(15,0,-15,0))); 406 } 265 407 public static final Symbol NoticeB6 = new Symbol(); 408 static { 409 NoticeB6.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 410 } 266 411 public static final Symbol NoticeB7 = new Symbol(); 412 static { 413 NoticeB7.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 414 NoticeB7.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-10,-10,20,20))); 415 } 267 416 public static final Symbol NoticeB8 = new Symbol(); 417 static { 418 NoticeB8.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 419 NoticeB8.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_ROUND, BasicStroke.JOIN_MITER))); 420 NoticeB8.add(new Instr(Prim.LINE, new Line2D.Double(0,15,0,-15))); 421 } 268 422 public static final Symbol NoticeB9a = new Symbol(); 423 static { 424 NoticeB9a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 425 NoticeB9a.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 426 NoticeB9a.add(new Instr(Prim.LINE, new Line2D.Double(-21,0,21,0))); 427 NoticeB9a.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 428 NoticeB9a.add(new Instr(Prim.LINE, new Line2D.Double(0,21,0,0))); 429 } 269 430 public static final Symbol NoticeB9b = new Symbol(); 431 static { 432 NoticeB9b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 433 NoticeB9b.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 434 NoticeB9b.add(new Instr(Prim.LINE, new Line2D.Double(-21,0,21,0))); 435 NoticeB9b.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 436 NoticeB9b.add(new Instr(Prim.LINE, new Line2D.Double(0,21,0,-21))); 437 } 270 438 public static final Symbol NoticeB11 = new Symbol(); 271 439 static { 272 440 NoticeB11.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 273 NoticeB11.add(new Instr(Prim. SYMB, new Symbols.SubSymbol(Notices.VHF, 1.0, 0, 0, null, null)));441 NoticeB11.add(new Instr(Prim.TEXT, new Caption("VHF", new Font("Arial", Font.BOLD, 20), Color.black, new Delta(Handle.BC, AffineTransform.getTranslateInstance(0, 0))))); 274 442 } 275 443 public static final Symbol NoticeC1 = new Symbol(); 444 static { 445 NoticeC1.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 446 Path2D.Double p = new Path2D.Double(); p.moveTo(-15,21); p.lineTo(0,12); p.lineTo(15,21); p.closePath(); 447 NoticeC1.add(new Instr(Prim.PGON, p)); 448 } 276 449 public static final Symbol NoticeC2 = new Symbol(); 450 static { 451 NoticeC2.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 452 Path2D.Double p = new Path2D.Double(); p.moveTo(-15,-21); p.lineTo(0,-12); p.lineTo(15,-21); p.closePath(); 453 NoticeC2.add(new Instr(Prim.PGON, p)); 454 } 277 455 public static final Symbol NoticeC3 = new Symbol(); 456 static { 457 NoticeC3.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 458 Path2D.Double p = new Path2D.Double(); p.moveTo(21,-15); p.lineTo(12,0); p.lineTo(21,15); p.closePath(); 459 p.moveTo(-21,-15); p.lineTo(-12,0); p.lineTo(-21,15); p.closePath(); 460 NoticeC3.add(new Instr(Prim.PGON, p)); 461 } 278 462 public static final Symbol NoticeC4 = new Symbol(); 463 static { 464 NoticeC4.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 465 } 279 466 public static final Symbol NoticeC5a = new Symbol(); 467 static { 468 NoticeC5a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 469 Path2D.Double p = new Path2D.Double(); p.moveTo(-21,-21); p.lineTo(10,-21); p.lineTo(21,0); p.lineTo(10,21); p.lineTo(-21,21); p.closePath(); 470 NoticeC5a.add(new Instr(Prim.PGON, p)); 471 } 280 472 public static final Symbol NoticeC5b = new Symbol(); 473 static { 474 NoticeC5b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null))); 475 Path2D.Double p = new Path2D.Double(); p.moveTo(21,-21); p.lineTo(-10,-21); p.lineTo(-21,0); p.lineTo(-10,21); p.lineTo(21,21); p.closePath(); 476 NoticeC5b.add(new Instr(Prim.PGON, p)); 477 } 281 478 public static final Symbol NoticeD1a = new Symbol(); 479 static { 480 NoticeD1a.add(new Instr(Prim.BBOX, new Rectangle(-30,-30,60,60))); 481 NoticeD1a.add(new Instr(Prim.FILL, Color.yellow)); 482 Path2D.Double p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(-30,0); p.lineTo(0,30); p.lineTo(30,0); p.closePath(); 483 NoticeD1a.add(new Instr(Prim.PGON, p)); 484 NoticeD1a.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 485 NoticeD1a.add(new Instr(Prim.FILL, Color.black)); 486 NoticeD1a.add(new Instr(Prim.PLIN, p)); 487 } 282 488 public static final Symbol NoticeD1b = new Symbol(); 489 static { 490 NoticeD1b.add(new Instr(Prim.BBOX, new Rectangle(-30,-30,60,60))); 491 NoticeD1b.add(new Instr(Prim.FILL, Color.yellow)); 492 Path2D.Double p = new Path2D.Double(); p.moveTo(-30,0); p.lineTo(-15,15); p.lineTo(15,-15); p.lineTo(30,0); p.lineTo(15,15); p.lineTo(-15,-15); p.closePath(); 493 NoticeD1b.add(new Instr(Prim.PGON, p)); 494 NoticeD1b.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 495 NoticeD1b.add(new Instr(Prim.FILL, Color.black)); 496 NoticeD1b.add(new Instr(Prim.PLIN, p)); 497 } 283 498 public static final Symbol NoticeD2a = new Symbol(); 499 static { 500 NoticeD2a.add(new Instr(Prim.BBOX, new Rectangle(-30,-30,60,60))); 501 NoticeD2a.add(new Instr(Prim.FILL, Color.white)); 502 Path2D.Double p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(30,0); p.lineTo(0,30); p.closePath(); 503 NoticeD2a.add(new Instr(Prim.PGON, p)); 504 NoticeD2a.add(new Instr(Prim.FILL, new Color(0x00e800))); 505 p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(30,0); p.lineTo(0,30); p.closePath(); 506 NoticeD2a.add(new Instr(Prim.PGON, p)); 507 NoticeD2a.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 508 NoticeD2a.add(new Instr(Prim.FILL, Color.black)); 509 p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(-30,0); p.lineTo(0,30); p.lineTo(30,0); p.closePath(); 510 NoticeD2a.add(new Instr(Prim.PLIN, p)); 511 } 284 512 public static final Symbol NoticeD2b = new Symbol(); 513 static { 514 NoticeD2b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeD2a, 1.0, 0, 0, new Delta(Handle.CC, AffineTransform.getRotateInstance(Math.toRadians(180.0))), null))); 515 } 285 516 public static final Symbol NoticeD3a = new Symbol(); 517 static { 518 NoticeD3a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 519 Path2D.Double p = new Path2D.Double(); p.moveTo(28,10); p.lineTo(-10,10); p.lineTo(-10,20); p.lineTo(-28,0); 520 p.lineTo(-10,-20); p.lineTo(-10,-10); p.lineTo(28,-10); p.closePath(); 521 NoticeD3a.add(new Instr(Prim.PGON, p)); 522 } 286 523 public static final Symbol NoticeD3b = new Symbol(); 524 static { 525 NoticeD3b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 526 Path2D.Double p = new Path2D.Double(); p.moveTo(-28,10); p.lineTo(10,10); p.lineTo(10,20); p.lineTo(28,0); 527 p.lineTo(10,-20); p.lineTo(10,-10); p.lineTo(-28,-10); p.closePath(); 528 NoticeD3b.add(new Instr(Prim.PGON, p)); 529 } 287 530 public static final Symbol NoticeE1 = new Symbol(); 531 static { 532 NoticeE1.add(new Instr(Prim.FILL, new Color(0x00e800))); 533 NoticeE1.add(new Instr(Prim.RSHP, new RoundRectangle2D.Double(-30,-30,60,60,4,4))); 534 NoticeE1.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 535 NoticeE1.add(new Instr(Prim.FILL, Color.white)); 536 NoticeE1.add(new Instr(Prim.RSHP, new Rectangle2D.Double(-10,-30,20,60))); 537 NoticeE1.add(new Instr(Prim.FILL, Color.black)); 538 NoticeE1.add(new Instr(Prim.RRCT, new RoundRectangle2D.Double(-30,-30,60,60,4,4))); 539 } 288 540 public static final Symbol NoticeE2 = new Symbol(); 541 static { 542 NoticeE2.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 543 Path2D.Double p = new Path2D.Double(); p.moveTo(5,-25); p.lineTo(-10,-1); p.lineTo(10,-1); p.lineTo(-10,20); 544 p.lineTo(-7,20); p.lineTo(-12,25); p.lineTo(-16,20); p.lineTo(-13,20); p.lineTo(4,1); p.lineTo(-14,1); 545 p.lineTo(2,-25); p.closePath(); 546 NoticeE2.add(new Instr(Prim.PGON, p)); 547 } 289 548 public static final Symbol NoticeE3 = new Symbol(); 549 static { 550 NoticeE3.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 551 NoticeE3.add(new Instr(Prim.STRK, new BasicStroke(5, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 552 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(25,-20,25,20))); 553 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(-25,-20,-25,20))); 554 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(-15,-15,-15,20))); 555 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(-5,-15,-5,20))); 556 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(5,-15,5,20))); 557 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(15,-15,15,20))); 558 NoticeE3.add(new Instr(Prim.STRK, new BasicStroke(3, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 559 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(-26,18.5,26,18.5))); 560 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(-26,-15,26,-15))); 561 } 290 562 public static final Symbol NoticeE4a = new Symbol(); 563 static { 564 NoticeE4a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 565 Path2D.Double p = new Path2D.Double(); p.moveTo(-20,-10); p.lineTo(-5,-10); p.lineTo(-5,-20); p.lineTo(5,-20); p.lineTo(5,-10); 566 p.lineTo(20,-10); p.lineTo(15,0); p.lineTo(-15,0); p.closePath(); 567 p.moveTo(-25,5); p.lineTo(25,5); p.lineTo(25,10); p.lineTo(-25,10); p.closePath(); 568 NoticeE4a.add(new Instr(Prim.PGON, p)); 569 } 291 570 public static final Symbol NoticeE4b = new Symbol(); 571 static { 572 NoticeE4b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 573 Path2D.Double p = new Path2D.Double(); p.moveTo(-20,0); p.lineTo(-5,0); p.lineTo(-5,-10); p.lineTo(5,-10); p.lineTo(5,0); 574 p.lineTo(20,0); p.lineTo(15,10); p.lineTo(-15,10); p.closePath(); 575 NoticeE4b.add(new Instr(Prim.PGON, p)); 576 } 292 577 public static final Symbol NoticeE5 = new Symbol(); 578 static { 579 NoticeE5.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 580 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); p.moveTo(-5.3,14.6); p.lineTo(-5.3,4.0); p.lineTo(0.0,4.0); p.curveTo(4.2,4.0,7.4,3.5,9.4,0.0); 581 p.curveTo(11.4,-2.8,11.4,-7.2,9.4,-10.5); p.curveTo(7.4,-13.6,4.2,-14.0,0.0,-14.0); p.lineTo(-11.0,-14.0); p.lineTo(-11.0,14.6); p.closePath(); 582 p.moveTo(-5.3,-1.0); p.lineTo(0.0,-1.0); p.curveTo(6.5,-1.0,6.5,-9.0,0.0,-9.0); p.lineTo(-5.3,-9.0); p.closePath(); 583 NoticeE5.add(new Instr(Prim.PGON, p)); 584 } 293 585 public static final Symbol NoticeE5_1 = new Symbol(); 586 static { 587 NoticeE5_1.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 588 } 294 589 public static final Symbol NoticeE5_2 = new Symbol(); 590 static { 591 NoticeE5_2.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 592 } 295 593 public static final Symbol NoticeE5_3 = new Symbol(); 594 static { 595 NoticeE5_3.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 596 } 296 597 public static final Symbol NoticeE5_4 = new Symbol(); 598 static { 599 NoticeE5_4.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 600 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); 601 p.moveTo(-28,25); p.lineTo(0,-28); p.lineTo(28,25); p.closePath(); 602 NoticeE5_4.add(new Instr(Prim.PGON, p)); 603 } 297 604 public static final Symbol NoticeE5_5 = new Symbol(); 605 static { 606 NoticeE5_5.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 607 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); 608 p.moveTo(-28,25); p.lineTo(0,-28); p.lineTo(28,25); p.closePath(); 609 p.moveTo(0,24); p.lineTo(-15,2); p.lineTo(15,2); p.closePath(); 610 NoticeE5_5.add(new Instr(Prim.PGON, p)); 611 } 298 612 public static final Symbol NoticeE5_6 = new Symbol(); 613 static { 614 NoticeE5_6.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 615 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); 616 p.moveTo(-28,25); p.lineTo(0,-28); p.lineTo(28,25); p.closePath(); 617 p.moveTo(0,7); p.lineTo(-10,-8); p.lineTo(10,-8); p.closePath(); 618 p.moveTo(0,24); p.lineTo(-10,9); p.lineTo(10,9); p.closePath(); 619 NoticeE5_6.add(new Instr(Prim.PGON, p)); 620 } 299 621 public static final Symbol NoticeE5_7 = new Symbol(); 622 static { 623 NoticeE5_7.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 624 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); 625 p.moveTo(-28,25); p.lineTo(0,-28); p.lineTo(28,25); p.closePath(); 626 p.moveTo(0,-1); p.lineTo(-8,-11); p.lineTo(8,-11); p.closePath(); 627 p.moveTo(0,11); p.lineTo(-8,1); p.lineTo(8,1); p.closePath(); 628 p.moveTo(0,23); p.lineTo(-8,13); p.lineTo(8,13); p.closePath(); 629 NoticeE5_7.add(new Instr(Prim.PGON, p)); 630 } 300 631 public static final Symbol NoticeE5_8 = new Symbol(); 632 static { 633 NoticeE5_8.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 634 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); 635 p.moveTo(-28,-25); p.lineTo(0,28); p.lineTo(28,-25); p.closePath(); 636 NoticeE5_8.add(new Instr(Prim.PGON, p)); 637 } 301 638 public static final Symbol NoticeE5_9 = new Symbol(); 639 static { 640 NoticeE5_9.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 641 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); 642 p.moveTo(-28,-25); p.lineTo(0,28); p.lineTo(28,-25); p.closePath(); 643 p.moveTo(0,8); p.lineTo(-15,-14); p.lineTo(15,-14); p.closePath(); 644 NoticeE5_9.add(new Instr(Prim.PGON, p)); 645 } 302 646 public static final Symbol NoticeE5_10 = new Symbol(); 647 static { 648 NoticeE5_10.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 649 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); 650 p.moveTo(-28,-25); p.lineTo(0,28); p.lineTo(28,-25); p.closePath(); 651 p.moveTo(0,-5); p.lineTo(-10,-20); p.lineTo(10,-20); p.closePath(); 652 p.moveTo(0,15); p.lineTo(-10,0); p.lineTo(10,0); p.closePath(); 653 NoticeE5_10.add(new Instr(Prim.PGON, p)); 654 } 303 655 public static final Symbol NoticeE5_11 = new Symbol(); 656 static { 657 NoticeE5_11.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 658 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); 659 p.moveTo(-28,-25); p.lineTo(0,28); p.lineTo(28,-25); p.closePath(); 660 p.moveTo(0,-12); p.lineTo(-8,-22); p.lineTo(8,-22); p.closePath(); 661 p.moveTo(0,3); p.lineTo(-8,-7); p.lineTo(8,-7); p.closePath(); 662 p.moveTo(0,18); p.lineTo(-8,8); p.lineTo(8,8); p.closePath(); 663 NoticeE5_11.add(new Instr(Prim.PGON, p)); 664 } 304 665 public static final Symbol NoticeE5_12 = new Symbol(); 666 static { 667 NoticeE5_12.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 668 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); 669 p.moveTo(-28,0); p.lineTo(0,28); p.lineTo(28,0); p.lineTo(0,-28); p.closePath(); 670 NoticeE5_12.add(new Instr(Prim.PGON, p)); 671 } 305 672 public static final Symbol NoticeE5_13 = new Symbol(); 673 static { 674 NoticeE5_13.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 675 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); 676 p.moveTo(-28,0); p.lineTo(0,28); p.lineTo(28,0); p.lineTo(0,-28); p.closePath(); 677 p.moveTo(0,15); p.lineTo(-15,-7); p.lineTo(15,-7); p.closePath(); 678 NoticeE5_13.add(new Instr(Prim.PGON, p)); 679 } 306 680 public static final Symbol NoticeE5_14 = new Symbol(); 681 static { 682 NoticeE5_14.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 683 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); 684 p.moveTo(-28,0); p.lineTo(0,28); p.lineTo(28,0); p.lineTo(0,-28); p.closePath(); 685 p.moveTo(0,0); p.lineTo(-10,-15); p.lineTo(10,-15); p.closePath(); 686 p.moveTo(0,20); p.lineTo(-10,5); p.lineTo(10,5); p.closePath(); 687 NoticeE5_14.add(new Instr(Prim.PGON, p)); 688 } 307 689 public static final Symbol NoticeE5_15 = new Symbol(); 690 static { 691 NoticeE5_15.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 692 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); 693 p.moveTo(-28,0); p.lineTo(0,28); p.lineTo(28,0); p.lineTo(0,-28); p.closePath(); 694 p.moveTo(0,-7); p.lineTo(-8,-17); p.lineTo(8,-17); p.closePath(); 695 p.moveTo(0,8); p.lineTo(-8,-2); p.lineTo(8,-2); p.closePath(); 696 p.moveTo(0,23); p.lineTo(-8,13); p.lineTo(8,13); p.closePath(); 697 NoticeE5_15.add(new Instr(Prim.PGON, p)); 698 } 308 699 public static final Symbol NoticeE6 = new Symbol(); 700 static { 701 NoticeE6.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 702 NoticeE6.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Harbours.Anchor, 0.4, 0, 0, null, null))); 703 } 309 704 public static final Symbol NoticeE7 = new Symbol(); 705 static { 706 NoticeE7.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 707 NoticeE7.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Bollard, 1.0, 0, 0, null, null))); 708 } 310 709 public static final Symbol NoticeE7_1 = new Symbol(); 710 static { 711 NoticeE7_1.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 712 NoticeE7_1.add(new Instr(Prim.STRK, new BasicStroke(5, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 713 NoticeE7_1.add(new Instr(Prim.LINE, new Line2D.Double(20,25,20,-10))); 714 NoticeE7_1.add(new Instr(Prim.LINE, new Line2D.Double(22,-8,-15,-20))); 715 NoticeE7_1.add(new Instr(Prim.STRK, new BasicStroke(3, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 716 NoticeE7_1.add(new Instr(Prim.LINE, new Line2D.Double(20,8,0,-15))); 717 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD); 718 p.moveTo(-17,2); p.quadTo(-5,0,7,2); p.lineTo(9,12); p.lineTo(7,20); p.lineTo(6,20); p.lineTo(6,23); p.lineTo(3,23); p.lineTo(3,20); 719 p.quadTo(-5,22,-13,20); p.lineTo(-13,23); p.lineTo(-16,23); p.lineTo(-16,20); p.lineTo(-17,20); p.lineTo(-19,12); p.closePath(); 720 p.moveTo(-15,4); p.quadTo(-3,2,5,4); p.lineTo(6,11); p.quadTo(-5,9,-16,11); p.closePath(); 721 NoticeE7_1.add(new Instr(Prim.PGON, p)); 722 NoticeE7_1.add(new Instr(Prim.FILL, new Color(0x0000a0))); 723 NoticeE7_1.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-16,13,4,4))); 724 NoticeE7_1.add(new Instr(Prim.RSHP, new Ellipse2D.Double(2,13,4,4))); 725 } 311 726 public static final Symbol NoticeE8 = new Symbol(); 727 static { 728 NoticeE8.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 729 NoticeE8.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Turn, 1.0, 0, 0, null, null))); 730 } 312 731 public static final Symbol NoticeE9a = new Symbol(); 732 static { 733 NoticeE9a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 734 NoticeE9a.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 735 NoticeE9a.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-29))); 736 NoticeE9a.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 737 NoticeE9a.add(new Instr(Prim.LINE, new Line2D.Double(-29,0,29,0))); 738 } 313 739 public static final Symbol NoticeE9b = new Symbol(); 740 static { 741 NoticeE9b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 742 NoticeE9b.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 743 NoticeE9b.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-29))); 744 NoticeE9b.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 745 NoticeE9b.add(new Instr(Prim.LINE, new Line2D.Double(-2,0,29,0))); 746 } 314 747 public static final Symbol NoticeE9c = new Symbol(); 748 static { 749 NoticeE9c.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 750 NoticeE9c.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 751 NoticeE9c.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-29))); 752 NoticeE9c.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 753 NoticeE9c.add(new Instr(Prim.LINE, new Line2D.Double(2,0,-29,0))); 754 } 315 755 public static final Symbol NoticeE9d = new Symbol(); 756 static { 757 NoticeE9d.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 758 NoticeE9d.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 759 NoticeE9d.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-4))); 760 NoticeE9d.add(new Instr(Prim.LINE, new Line2D.Double(-4,0,29,0))); 761 NoticeE9d.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 762 NoticeE9d.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,2))); 763 } 316 764 public static final Symbol NoticeE9e = new Symbol(); 765 static { 766 NoticeE9e.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 767 NoticeE9e.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 768 NoticeE9e.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-4))); 769 NoticeE9e.add(new Instr(Prim.LINE, new Line2D.Double(4,0,-29,0))); 770 NoticeE9e.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 771 NoticeE9e.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,2))); 772 } 317 773 public static final Symbol NoticeE9f = new Symbol(); 774 static { 775 NoticeE9f.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 776 NoticeE9f.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 777 NoticeE9f.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-4))); 778 NoticeE9f.add(new Instr(Prim.LINE, new Line2D.Double(-4,0,29,0))); 779 NoticeE9f.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 780 NoticeE9f.add(new Instr(Prim.LINE, new Line2D.Double(2,0,-29,0))); 781 } 318 782 public static final Symbol NoticeE9g = new Symbol(); 783 static { 784 NoticeE9g.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 785 NoticeE9g.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 786 NoticeE9g.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-4))); 787 NoticeE9g.add(new Instr(Prim.LINE, new Line2D.Double(4,0,-29,0))); 788 NoticeE9g.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 789 NoticeE9g.add(new Instr(Prim.LINE, new Line2D.Double(-2,0,29,0))); 790 } 319 791 public static final Symbol NoticeE9h = new Symbol(); 792 static { 793 NoticeE9h.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 794 NoticeE9h.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 795 NoticeE9h.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-4))); 796 NoticeE9h.add(new Instr(Prim.LINE, new Line2D.Double(-4,0,29,0))); 797 NoticeE9h.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 798 NoticeE9h.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,2))); 799 NoticeE9h.add(new Instr(Prim.LINE, new Line2D.Double(2,0,-29,0))); 800 } 320 801 public static final Symbol NoticeE9i = new Symbol(); 802 static { 803 NoticeE9i.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 804 NoticeE9i.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 805 NoticeE9i.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-4))); 806 NoticeE9i.add(new Instr(Prim.LINE, new Line2D.Double(4,0,-29,0))); 807 NoticeE9i.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 808 NoticeE9i.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,2))); 809 NoticeE9i.add(new Instr(Prim.LINE, new Line2D.Double(-2,0,29,0))); 810 } 321 811 public static final Symbol NoticeE10a = new Symbol(); 812 static { 813 NoticeE10a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 814 NoticeE10a.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 815 NoticeE10a.add(new Instr(Prim.LINE, new Line2D.Double(-29,0,29,0))); 816 NoticeE10a.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 817 NoticeE10a.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-29))); 818 } 322 819 public static final Symbol NoticeE10b = new Symbol(); 820 static { 821 NoticeE10b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 822 NoticeE10b.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 823 NoticeE10b.add(new Instr(Prim.LINE, new Line2D.Double(-29,0,29,0))); 824 NoticeE10b.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 825 NoticeE10b.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-2))); 826 } 323 827 public static final Symbol NoticeE10c = new Symbol(); 828 static { 829 NoticeE10c.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 830 NoticeE10c.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 831 NoticeE10c.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,4))); 832 NoticeE10c.add(new Instr(Prim.LINE, new Line2D.Double(-4,0,29,0))); 833 NoticeE10c.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 834 NoticeE10c.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-2))); 835 } 324 836 public static final Symbol NoticeE10d = new Symbol(); 837 static { 838 NoticeE10d.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 839 NoticeE10d.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 840 NoticeE10d.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,4))); 841 NoticeE10d.add(new Instr(Prim.LINE, new Line2D.Double(4,0,-29,0))); 842 NoticeE10d.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 843 NoticeE10d.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-2))); 844 } 325 845 public static final Symbol NoticeE10e = new Symbol(); 846 static { 847 NoticeE10e.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 848 NoticeE10e.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 849 NoticeE10e.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,4))); 850 NoticeE10e.add(new Instr(Prim.LINE, new Line2D.Double(-4,0,29,0))); 851 NoticeE10e.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 852 NoticeE10e.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-2))); 853 NoticeE10e.add(new Instr(Prim.LINE, new Line2D.Double(2,0,-29,0))); 854 } 326 855 public static final Symbol NoticeE10f = new Symbol(); 856 static { 857 NoticeE10f.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 858 NoticeE10f.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 859 NoticeE10f.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,4))); 860 NoticeE10f.add(new Instr(Prim.LINE, new Line2D.Double(4,0,-29,0))); 861 NoticeE10f.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER))); 862 NoticeE10f.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-2))); 863 NoticeE10f.add(new Instr(Prim.LINE, new Line2D.Double(-2,0,29,0))); 864 } 327 865 public static final Symbol NoticeE11 = new Symbol(); 866 static { 867 NoticeE11.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 868 NoticeE11.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND))); 869 NoticeE11.add(new Instr(Prim.LINE, new Line2D.Double(-27,-27,27,27))); 870 } 328 871 public static final Symbol NoticeE13 = new Symbol(); 872 static { 873 NoticeE13.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 874 Path2D.Double p = new Path2D.Double(); p.moveTo(-4,-16); p.lineTo(9,-16); p.lineTo(9,-14); p.lineTo(3.5,-14); p.lineTo(3.5,-7); p.lineTo(5,-7); 875 p.lineTo(5,1); p.lineTo(6.5,1); p.lineTo(6.5,5); p.lineTo(17.5,5); p.lineTo(17.5,1); p.lineTo(19,1); p.lineTo(19,15); p.lineTo(17.5,15); 876 p.lineTo(17.5,10); p.lineTo(17.5,10); p.lineTo(6.5,10); p.lineTo(6.5,13); p.lineTo(-2,13); p.lineTo(-2,10); p.lineTo(-9,10); 877 p.quadTo(-13.5,10,-13.5,16); p.lineTo(-19,16); p.quadTo(-19,5,-9,5); p.lineTo(-2,5); p.lineTo(-2,1); p.lineTo(0,1); p.lineTo(0,-7); 878 p.lineTo(1.5,-7); p.lineTo(1.5,-14); p.lineTo(-4,-14); p.closePath(); 879 NoticeE13.add(new Instr(Prim.PGON, p)); 880 } 329 881 public static final Symbol NoticeE14 = new Symbol(); 882 static { 883 NoticeE14.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 884 Path2D.Double p = new Path2D.Double(); p.moveTo(-18,-18); p.lineTo(-11,-7); p.lineTo(-9,-10); p.lineTo(-14,-18); p.closePath(); 885 p.moveTo(9.5,7); p.lineTo(22.5,9); p.lineTo(21.5,5.5); p.lineTo(12,4); p.closePath(); 886 p.moveTo(-19,-16.5); p.lineTo(-13,-6.5); p.quadTo(-15.5,-2,-12.5,0); p.lineTo(4,11); p.quadTo(7,13,10,9); p.lineTo(21.5,11); 887 p.curveTo(15.5,23,1,18.5,-9,12); p.curveTo(-18,6,-28.5,-7,-19,-16.5); p.closePath(); 888 NoticeE14.add(new Instr(Prim.PGON, p)); 889 } 330 890 public static final Symbol NoticeE15 = new Symbol(); 891 static { 892 NoticeE15.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 893 NoticeE15.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Motor, 1.0, 0, 0, null, null))); 894 } 331 895 public static final Symbol NoticeE16 = new Symbol(); 896 static { 897 NoticeE16.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 898 NoticeE16.add(new Instr(Prim.TEXT, new Caption("SPORT", new Font("Arial", Font.BOLD, 15), Color.white, new Delta(Handle.BC, AffineTransform.getTranslateInstance(0, 5))))); 899 } 332 900 public static final Symbol NoticeE17 = new Symbol(); 901 static { 902 NoticeE17.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 903 NoticeE17.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Waterski, 1.0, 0, 0, null, null))); 904 } 333 905 public static final Symbol NoticeE18 = new Symbol(); 906 static { 907 NoticeE18.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 908 NoticeE18.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Sailboat, 1.0, 0, 0, null, null))); 909 } 334 910 public static final Symbol NoticeE19 = new Symbol(); 911 static { 912 NoticeE19.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 913 NoticeE19.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Rowboat, 1.0, 0, 0, null, null))); 914 } 335 915 public static final Symbol NoticeE20 = new Symbol(); 916 static { 917 NoticeE20.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 918 NoticeE20.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Sailboard, 1.0, 0, 0, null, null))); 919 } 336 920 public static final Symbol NoticeE21 = new Symbol(); 921 static { 922 NoticeE21.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 923 NoticeE21.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Speedboat, 1.0, 0, 0, null, null))); 924 } 337 925 public static final Symbol NoticeE22 = new Symbol(); 926 static { 927 NoticeE22.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 928 NoticeE22.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Slipway, 1.0, 0, 0, null, null))); 929 } 338 930 public static final Symbol NoticeE23 = new Symbol(); 931 static { 932 NoticeE23.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 933 NoticeE23.add(new Instr(Prim.TEXT, new Caption("VHF", new Font("Arial", Font.BOLD, 20), Color.white, new Delta(Handle.BC, AffineTransform.getTranslateInstance(0, 0))))); 934 } 339 935 public static final Symbol NoticeE24 = new Symbol(); 936 static { 937 NoticeE24.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null))); 938 NoticeE24.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Waterbike, 1.0, 0, 0, null, null))); 939 } 340 940 341 941 public static final EnumMap<CatNMK, Symbol> NmkCevni = new EnumMap<CatNMK, Symbol>(CatNMK.class);
Note:
See TracChangeset
for help on using the changeset viewer.