source: osm/applications/editors/josm/plugins/smed2/src/symbols/Notices.java@ 30033

Last change on this file since 30033 was 30033, checked in by malcolmh, 11 years ago

save

File size: 64.2 KB
Line 
1/* Copyright 2012 Malcolm Herring
2 *
3 * This is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, version 3 of the License.
6 *
7 * For a copy of the GNU General Public License, see <http://www.gnu.org/licenses/>.
8 */
9
10package symbols;
11
12import java.awt.BasicStroke;
13import java.awt.Color;
14import java.awt.Font;
15import java.awt.geom.*;
16import java.util.ArrayList;
17import java.util.EnumMap;
18
19import s57.S57val.*;
20import symbols.Symbols.*;
21
22public class Notices {
23 private static final Symbol Bollard = new Symbol();
24 static {
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);
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);
27 p.closePath(); p.moveTo(8.4,-4.3); p.curveTo(9.0,-9.3,9.0,-11.4,11.2,-13.0); p.curveTo(12.8,-15.0,12.8,-16.7,11.0,-18.6); p.curveTo(4.0,-22.2,-4.0,-22.2,-11.0,-18.6);
28 p.curveTo(-12.8,-16.7,-12.8,-15.0,-11.2,-13.0); p.curveTo(-9.0,-11.3,-8.7,-9.5,-8.4,-6.5); p.closePath();
29 Bollard.add(new Instr(Prim.PGON, p));
30 }
31 private static final Symbol Motor = new Symbol();
32 static {
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);
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);
35 p.curveTo(-5.3,-19.2,-11.6,-18.3,-13.7,-13.7); p.curveTo(-14.3,-12.2,-14.0,-11.2,-12.5,-10.6); p.curveTo(-8.6,-9.6,-5.3,-6.0,-4.0,-3.4); p.curveTo(-5.4,-2.6,-6.2,-2.0,-6.2,0.2);
36 p.curveTo(-12.8,-1.0,-17.5,3.7,-17.5,9.3); p.curveTo(-17.5,14.7,-12.6,18.8,-8.0,17.6); p.curveTo(-7.0,17.2,-6.6,16.2,-7.2,14.6); p.curveTo(-7.7,12.4,-7.0,7.7,-5.0,4.3); p.closePath();
37 Motor.add(new Instr(Prim.PGON, p));
38 }
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 }
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 }
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 }
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 }
85 private static final Symbol Speedboat = new Symbol();
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)));
99 }
100 private static final Symbol Turn = new Symbol();
101 static {
102 Turn.add(new Instr(Prim.STRK, new BasicStroke(5, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
103 Turn.add(new Instr(Prim.EARC, new Arc2D.Double(-9.0,-9.0,18.0,18.0,270.0,230.0,Arc2D.OPEN)));
104 Turn.add(new Instr(Prim.EARC, new Arc2D.Double(-20.0,-20.0,40.0,40.0,315.0,-280.0,Arc2D.OPEN)));
105 Path2D.Double p = new Path2D.Double(); p.moveTo(21.8,-7.0); p.lineTo(18.8,-18.2); p.lineTo(10.5,-10.0); p.closePath();
106 p.moveTo(-12.9,0.7); p.lineTo(-1.7,-2.3); p.lineTo(-9.9,-10.5); p.closePath();
107 Turn.add(new Instr(Prim.PGON, p));
108 }
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 }
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 }
135 private static final Symbol NoticeA = new Symbol();
136 static {
137 NoticeA.add(new Instr(Prim.FILL, new Color(0xe80000)));
138 NoticeA.add(new Instr(Prim.RSHP, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
139 NoticeA.add(new Instr(Prim.FILL, Color.white));
140 NoticeA.add(new Instr(Prim.RSHP, new Rectangle2D.Double(-21,-21,42,42)));
141 NoticeA.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_ROUND, BasicStroke.JOIN_MITER)));
142 NoticeA.add(new Instr(Prim.FILL, new Color(0xe80000)));
143 NoticeA.add(new Instr(Prim.LINE, new Line2D.Double(-25,-25,25,25)));
144 NoticeA.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
145 NoticeA.add(new Instr(Prim.FILL, Color.black));
146 NoticeA.add(new Instr(Prim.RRCT, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
147 }
148 private static final Symbol NoticeB = new Symbol();
149 static {
150 NoticeB.add(new Instr(Prim.FILL, new Color(0xe80000)));
151 NoticeB.add(new Instr(Prim.RSHP, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
152 NoticeB.add(new Instr(Prim.FILL, Color.white));
153 NoticeB.add(new Instr(Prim.RSHP, new Rectangle2D.Double(-21,-21,42,42)));
154 NoticeB.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
155 NoticeB.add(new Instr(Prim.FILL, Color.black));
156 NoticeB.add(new Instr(Prim.RRCT, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
157 }
158 private static final Symbol NoticeE = new Symbol();
159 static {
160 NoticeE.add(new Instr(Prim.FILL, new Color(0x0000a0)));
161 NoticeE.add(new Instr(Prim.RSHP, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
162 NoticeE.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
163 NoticeE.add(new Instr(Prim.FILL, Color.black));
164 NoticeE.add(new Instr(Prim.RRCT, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
165 NoticeE.add(new Instr(Prim.FILL, Color.white));
166 }
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 }
177 public static final Symbol NoticeA1 = new Symbol();
178 static {
179 NoticeA1.add(new Instr(Prim.FILL, new Color(0xe80000)));
180 NoticeA1.add(new Instr(Prim.RSHP, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
181 NoticeA1.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
182 NoticeA1.add(new Instr(Prim.FILL, Color.white));
183 NoticeA1.add(new Instr(Prim.RSHP, new Rectangle2D.Double(-30,-10,60,20)));
184 NoticeA1.add(new Instr(Prim.FILL, Color.black));
185 NoticeA1.add(new Instr(Prim.RRCT, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
186 }
187 public static final Symbol NoticeA1a = new Symbol();
188 static {
189 NoticeA1a.add(new Instr(Prim.FILL, new Color(0xe80000)));
190 NoticeA1a.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-30,-30,60,60)));
191 NoticeA1a.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
192 NoticeA1a.add(new Instr(Prim.FILL, Color.white));
193 NoticeA1a.add(new Instr(Prim.RSHP, new Rectangle2D.Double(-29,-10,58,20)));
194 NoticeA1a.add(new Instr(Prim.FILL, Color.black));
195 NoticeA1a.add(new Instr(Prim.ELPS, new Ellipse2D.Double(-30,-30,60,60)));
196 }
197 public static final Symbol NoticeA2 = new Symbol();
198 static {
199 NoticeA2.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
200 NoticeA2.add(new Instr(Prim.FILL, Color.black));
201 Path2D.Double p = new Path2D.Double(); p.moveTo(-10,23); p.lineTo(-10,0); p.lineTo(-6,0); p.lineTo(-12.5,-8); p.lineTo(-19,0); p.lineTo(-15,0); p.lineTo(-15,23);
202 p.closePath(); p.moveTo(10,8); p.lineTo(10,-15); p.lineTo(6,-15); p.lineTo(12.5,-23); p.lineTo(19,-15); p.lineTo(15,-15); p.lineTo(15,8); p.closePath();
203 NoticeA2.add(new Instr(Prim.PGON, p));
204 }
205 public static final Symbol NoticeA3 = new Symbol();
206 static {
207 NoticeA3.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA2, 1.0, 0, 0, null, null)));
208 Path2D.Double p = new Path2D.Double(); p.moveTo(-10,12); p.lineTo(-6,12); p.lineTo(-12.5,4); p.lineTo(-19,12);
209 p.closePath(); p.moveTo(10,-3); p.lineTo(6,-3); p.lineTo(12.5,-11); p.lineTo(19,-3); p.closePath();
210 NoticeA3.add(new Instr(Prim.PGON, p));
211 }
212 public static final Symbol NoticeA4 = new Symbol();
213 static {
214 NoticeA4.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
215 NoticeA4.add(new Instr(Prim.FILL, Color.black));
216 Path2D.Double p = new Path2D.Double(); p.moveTo(-10,-15); p.lineTo(-10,8); p.lineTo(-6,8); p.lineTo(-12.5,16); p.lineTo(-19,8); p.lineTo(-15,8); p.lineTo(-15,-15);
217 p.closePath(); p.moveTo(10,15); p.lineTo(10,-8); p.lineTo(6,-8); p.lineTo(12.5,-16); p.lineTo(19,-8); p.lineTo(15,-8); p.lineTo(15,15); p.closePath();
218 NoticeA4.add(new Instr(Prim.PGON, p));
219 }
220 public static final Symbol NoticeA4_1 = new Symbol();
221 static {
222 NoticeA4_1.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA4, 1.0, 0, 0, null, null)));
223 Path2D.Double p = new Path2D.Double(); p.moveTo(-10,-4); p.lineTo(-6,-4); p.lineTo(-12.5,4); p.lineTo(-19,-4);
224 p.closePath(); p.moveTo(10,5); p.lineTo(6,5); p.lineTo(12.5,-3); p.lineTo(19,5); p.closePath();
225 NoticeA4_1.add(new Instr(Prim.PGON, p));
226 }
227 public static final Symbol NoticeA5 = new Symbol();
228 static {
229 NoticeA5.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
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);
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();
232 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();
233 NoticeA5.add(new Instr(Prim.PGON, p));
234 }
235 public static final Symbol NoticeA5_1 = new Symbol();
236 static {
237 NoticeA5_1.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
238 }
239 public static final Symbol NoticeA6 = new Symbol();
240 static {
241 NoticeA6.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
242 NoticeA6.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Harbours.Anchor, 0.4, 0, 0, null, new Delta(Handle.CC, AffineTransform.getRotateInstance(Math.toRadians(180.0))))));
243 }
244 public static final Symbol NoticeA7 = new Symbol();
245 static {
246 NoticeA7.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
247 NoticeA7.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Bollard, 1.0, 0, 0, null, null)));
248 }
249 public static final Symbol NoticeA8 = new Symbol();
250 static {
251 NoticeA8.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
252 NoticeA8.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Turn, 1.0, 0, 0, null, null)));
253 }
254 public static final Symbol NoticeA9 = new Symbol();
255 static {
256 NoticeA9.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
257 NoticeA9.add(new Instr(Prim.STRK, new BasicStroke(7, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
258 NoticeA9.add(new Instr(Prim.FILL, Color.black));
259 Path2D.Double p = new Path2D.Double(); p.moveTo(-23,10); p.curveTo(-11,10,-12,4,0,4); p.curveTo(12,4,11,10,23,10);
260 p.moveTo(-23,-3); p.curveTo(-11,-3,-12,-9,0,-9); p.curveTo(12,-9,11,-3,23,-3);
261 NoticeA9.add(new Instr(Prim.PLIN, p));
262 }
263 public static final Symbol NoticeA10a = new Symbol();
264 static {
265 NoticeA10a.add(new Instr(Prim.BBOX, new Rectangle2D.Double(-30,-30,60,60)));
266 NoticeA10a.add(new Instr(Prim.FILL, Color.white));
267 Path2D.Double p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(30,0); p.lineTo(0,30); p.closePath();
268 NoticeA10a.add(new Instr(Prim.PGON, p));
269 NoticeA10a.add(new Instr(Prim.FILL, new Color(0xe80000)));
270 p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(-30,0); p.lineTo(0,30); p.closePath();
271 NoticeA10a.add(new Instr(Prim.PGON, p));
272 NoticeA10a.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
273 NoticeA10a.add(new Instr(Prim.FILL, Color.black));
274 p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(-30,0); p.lineTo(0,30); p.lineTo(30,0); p.closePath();
275 NoticeA10a.add(new Instr(Prim.PLIN, p));
276 }
277 public static final Symbol NoticeA10b = new Symbol();
278 static {
279 NoticeA10b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA10a, 1.0, 0, 0, null, new Delta(Handle.CC, AffineTransform.getRotateInstance(Math.toRadians(180.0))))));
280 }
281 public static final Symbol NoticeA12 = new Symbol();
282 static {
283 NoticeA12.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
284 NoticeA12.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Motor, 1.0, 0, 0, null, null)));
285 }
286 public static final Symbol NoticeA13 = new Symbol();
287 static {
288 NoticeA13.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
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();
292 static {
293 NoticeA14.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
294 NoticeA14.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Waterski, 1.0, 0, 0, null, null)));
295 }
296 public static final Symbol NoticeA15 = new Symbol();
297 static {
298 NoticeA15.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
299 NoticeA15.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Sailboat, 1.0, 0, 0, null, null)));
300 }
301 public static final Symbol NoticeA16 = new Symbol();
302 static {
303 NoticeA16.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
304 NoticeA16.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Rowboat, 1.0, 0, 0, null, null)));
305 }
306 public static final Symbol NoticeA17 = new Symbol();
307 static {
308 NoticeA17.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
309 NoticeA17.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Sailboard, 1.0, 0, 0, null, null)));
310 }
311 public static final Symbol NoticeA18 = new Symbol();
312 static {
313 NoticeA18.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
314 NoticeA18.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Speedboat, 1.0, 0, 0, null, null)));
315 }
316 public static final Symbol NoticeA19 = new Symbol();
317 static {
318 NoticeA19.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
319 NoticeA19.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Slipway, 1.0, 0, 0, null, null)));
320 }
321 public static final Symbol NoticeA20 = new Symbol();
322 static {
323 NoticeA20.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
324 NoticeA20.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Waterbike, 1.0, 0, 0, null, null)));
325 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
438 public static final Symbol NoticeB11 = new Symbol();
439 static {
440 NoticeB11.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 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)))));
442 }
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 }
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 }
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 }
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 }
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 }
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 }
478 public static final Symbol NoticeD1a = new Symbol();
479 static {
480 NoticeD1a.add(new Instr(Prim.BBOX, new Rectangle2D.Double(-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 }
488 public static final Symbol NoticeD1b = new Symbol();
489 static {
490 NoticeD1b.add(new Instr(Prim.BBOX, new Rectangle2D.Double(-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 }
498 public static final Symbol NoticeD2a = new Symbol();
499 static {
500 NoticeD2a.add(new Instr(Prim.BBOX, new Rectangle2D.Double(-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 }
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, null, new Delta(Handle.CC, AffineTransform.getRotateInstance(Math.toRadians(180.0))))));
515 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
940
941 public static final EnumMap<CatNMK, Symbol> NmkCevni = new EnumMap<CatNMK, Symbol>(CatNMK.class);
942 static {
943 NmkCevni.put(CatNMK.NMK_UNKN, Notice); NmkCevni.put(CatNMK.NMK_NENT, NoticeA1); NmkCevni.put(CatNMK.NMK_CLSA, NoticeA1a); NmkCevni.put(CatNMK.NMK_NOVK, NoticeA2);
944 NmkCevni.put(CatNMK.NMK_NCOV, NoticeA3); NmkCevni.put(CatNMK.NMK_NPAS, NoticeA4); NmkCevni.put(CatNMK.NMK_NBRT, NoticeA5); NmkCevni.put(CatNMK.NMK_NBLL, NoticeA5_1);
945 NmkCevni.put(CatNMK.NMK_NANK, NoticeA6); NmkCevni.put(CatNMK.NMK_NMOR, NoticeA7); NmkCevni.put(CatNMK.NMK_NTRN, NoticeA8); NmkCevni.put(CatNMK.NMK_NWSH, NoticeA9);
946 NmkCevni.put(CatNMK.NMK_NPSL, NoticeA10a); NmkCevni.put(CatNMK.NMK_NPSR, NoticeA10b); NmkCevni.put(CatNMK.NMK_NMTC, NoticeA12); NmkCevni.put(CatNMK.NMK_NSPC, NoticeA13);
947 NmkCevni.put(CatNMK.NMK_NWSK, NoticeA14); NmkCevni.put(CatNMK.NMK_NSLC, NoticeA15); NmkCevni.put(CatNMK.NMK_NUPC, NoticeA16); NmkCevni.put(CatNMK.NMK_NSLB, NoticeA17);
948 NmkCevni.put(CatNMK.NMK_NWBK, NoticeA20); NmkCevni.put(CatNMK.NMK_NHSC, NoticeA18); NmkCevni.put(CatNMK.NMK_NLBG, NoticeA19);
949 NmkCevni.put(CatNMK.NMK_MVTL, NoticeB1a); NmkCevni.put(CatNMK.NMK_MVTR, NoticeB1b); NmkCevni.put(CatNMK.NMK_MVTP, NoticeB2a); NmkCevni.put(CatNMK.NMK_MVTS, NoticeB2b);
950 NmkCevni.put(CatNMK.NMK_KPTP, NoticeB3a); NmkCevni.put(CatNMK.NMK_KPTS, NoticeB3b); NmkCevni.put(CatNMK.NMK_CSTP, NoticeB4a); NmkCevni.put(CatNMK.NMK_CSTS, NoticeB4b);
951 NmkCevni.put(CatNMK.NMK_STOP, NoticeB5); NmkCevni.put(CatNMK.NMK_SPDL, NoticeB6); NmkCevni.put(CatNMK.NMK_SHRN, NoticeB7); NmkCevni.put(CatNMK.NMK_KPLO, NoticeB8);
952 NmkCevni.put(CatNMK.NMK_GWJN, NoticeB9a); NmkCevni.put(CatNMK.NMK_GWCS, NoticeB9b); NmkCevni.put(CatNMK.NMK_MKRC, NoticeB11);
953 NmkCevni.put(CatNMK.NMK_LMDP, NoticeC1); NmkCevni.put(CatNMK.NMK_LMHR, NoticeC2); NmkCevni.put(CatNMK.NMK_LMWD, NoticeC3); NmkCevni.put(CatNMK.NMK_NAVR, NoticeC4);
954 NmkCevni.put(CatNMK.NMK_CHDL, NoticeC5a); NmkCevni.put(CatNMK.NMK_CHDR, NoticeC5b);
955 NmkCevni.put(CatNMK.NMK_CHTW, NoticeD1a); NmkCevni.put(CatNMK.NMK_CHOW, NoticeD1b); NmkCevni.put(CatNMK.NMK_OPTR, NoticeD2a); NmkCevni.put(CatNMK.NMK_OPTL, NoticeD2b);
956 NmkCevni.put(CatNMK.NMK_PRTL, NoticeD3a); NmkCevni.put(CatNMK.NMK_PRTR, NoticeD3b);
957 NmkCevni.put(CatNMK.NMK_ENTP, NoticeE1); NmkCevni.put(CatNMK.NMK_OVHC, NoticeE2); NmkCevni.put(CatNMK.NMK_WEIR, NoticeE3); NmkCevni.put(CatNMK.NMK_FERN, NoticeE4a);
958 NmkCevni.put(CatNMK.NMK_FERI, NoticeE4b); NmkCevni.put(CatNMK.NMK_BRTP, NoticeE5); NmkCevni.put(CatNMK.NMK_BTLL, NoticeE5_1); NmkCevni.put(CatNMK.NMK_BTLS, NoticeE5_2);
959 NmkCevni.put(CatNMK.NMK_BTRL, NoticeE5_3); NmkCevni.put(CatNMK.NMK_BTUP, NoticeE5_4); NmkCevni.put(CatNMK.NMK_BTP1, NoticeE5_5); NmkCevni.put(CatNMK.NMK_BTP2, NoticeE5_6);
960 NmkCevni.put(CatNMK.NMK_BTP3, NoticeE5_7); NmkCevni.put(CatNMK.NMK_BTUN, NoticeE5_8); NmkCevni.put(CatNMK.NMK_BTN1, NoticeE5_9); NmkCevni.put(CatNMK.NMK_BTN2, NoticeE5_10);
961 NmkCevni.put(CatNMK.NMK_BTN3, NoticeE5_11); NmkCevni.put(CatNMK.NMK_BTUM, NoticeE5_12); NmkCevni.put(CatNMK.NMK_BTU1, NoticeE5_13); NmkCevni.put(CatNMK.NMK_BTU2, NoticeE5_14);
962 NmkCevni.put(CatNMK.NMK_BTU3, NoticeE5_15); NmkCevni.put(CatNMK.NMK_ANKP, NoticeE6); NmkCevni.put(CatNMK.NMK_MORP, NoticeE7); NmkCevni.put(CatNMK.NMK_VLBT, NoticeE7_1);
963 NmkCevni.put(CatNMK.NMK_TRNA, NoticeE8); NmkCevni.put(CatNMK.NMK_SWWC, NoticeE9a); NmkCevni.put(CatNMK.NMK_SWWR, NoticeE9b); NmkCevni.put(CatNMK.NMK_SWWL, NoticeE9c);
964 NmkCevni.put(CatNMK.NMK_WRSA, NoticeE9d); NmkCevni.put(CatNMK.NMK_WLSA, NoticeE9e); NmkCevni.put(CatNMK.NMK_WRSL, NoticeE9f); NmkCevni.put(CatNMK.NMK_WLSR, NoticeE9g);
965 NmkCevni.put(CatNMK.NMK_WRAL, NoticeE9h); NmkCevni.put(CatNMK.NMK_WLAR, NoticeE9i); NmkCevni.put(CatNMK.NMK_MWWC, NoticeE10a); NmkCevni.put(CatNMK.NMK_MWWJ, NoticeE10b);
966 NmkCevni.put(CatNMK.NMK_MWAR, NoticeE10c); NmkCevni.put(CatNMK.NMK_MWAL, NoticeE10d); NmkCevni.put(CatNMK.NMK_WARL, NoticeE10e); NmkCevni.put(CatNMK.NMK_WALR, NoticeE10f);
967 NmkCevni.put(CatNMK.NMK_PEND, NoticeE11); NmkCevni.put(CatNMK.NMK_DWTR, NoticeE13); NmkCevni.put(CatNMK.NMK_TELE, NoticeE14); NmkCevni.put(CatNMK.NMK_MTCP, NoticeE15);
968 NmkCevni.put(CatNMK.NMK_SPCP, NoticeE16); NmkCevni.put(CatNMK.NMK_WSKP, NoticeE17); NmkCevni.put(CatNMK.NMK_SLCP, NoticeE18); NmkCevni.put(CatNMK.NMK_UPCP, NoticeE19);
969 NmkCevni.put(CatNMK.NMK_SLBP, NoticeE20); NmkCevni.put(CatNMK.NMK_RADI, NoticeE23); NmkCevni.put(CatNMK.NMK_WTBP, NoticeE24); NmkCevni.put(CatNMK.NMK_HSCP, NoticeE21);
970 NmkCevni.put(CatNMK.NMK_LBGP, NoticeE22);
971 };
972
973 public static final Symbol NoticeBnank = new Symbol();
974 static {
975 NoticeBnank.add(new Instr(Prim.BBOX, new Rectangle2D.Double(-30,-30,60,60)));
976 Symbol colours = new Symbol();
977 Path2D.Double p = new Path2D.Double(); p.moveTo(0.0,-80.0); p.lineTo(-15.0,-47.0); p.lineTo(15.0,-47.0); p.closePath();
978 colours.add(new Instr(Prim.P1, p));
979 p = new Path2D.Double(); p.moveTo(0.0,-10.0); p.lineTo(-15.0,-43.0); p.lineTo(15.0,-43.0); p.closePath();
980 colours.add(new Instr(Prim.P2, p));
981 NoticeBnank.add(new Instr(Prim.COLR, colours));
982 }
983 public static final Symbol NoticeBlmhr = new Symbol();
984 public static final Symbol NoticeBwral = new Symbol();
985 public static final Symbol NoticeBwrar = new Symbol();
986 public static final Symbol NoticeBktpm = new Symbol();
987 public static final Symbol NoticeBktsm = new Symbol();
988 public static final Symbol NoticeBktmr = new Symbol();
989 public static final Symbol NoticeBcrtp = new Symbol();
990 public static final Symbol NoticeBcrts = new Symbol();
991 public static final Symbol NoticeBtrbm = new Symbol();
992 public static final Symbol NoticeBrspd = new Symbol();
993 public static final EnumMap<CatNMK, Symbol> NmkBniwr = new EnumMap<CatNMK, Symbol>(CatNMK.class);
994 static {
995 NmkBniwr.put(CatNMK.NMK_NANK, NoticeBnank); NmkBniwr.put(CatNMK.NMK_LMHR, NoticeBlmhr); NmkBniwr.put(CatNMK.NMK_OPTR, NoticeD2a); NmkBniwr.put(CatNMK.NMK_OPTL, NoticeD2b);
996 NmkBniwr.put(CatNMK.NMK_WRAL, NoticeBwral); NmkBniwr.put(CatNMK.NMK_WLAR, NoticeBwrar); NmkBniwr.put(CatNMK.NMK_KTPM, NoticeBktpm); NmkBniwr.put(CatNMK.NMK_KTSM, NoticeBktsm);
997 NmkBniwr.put(CatNMK.NMK_KTMR, NoticeBktmr); NmkBniwr.put(CatNMK.NMK_CRTP, NoticeBcrtp); NmkBniwr.put(CatNMK.NMK_CRTS, NoticeBcrts); NmkBniwr.put(CatNMK.NMK_TRBM, NoticeBtrbm);
998 NmkBniwr.put(CatNMK.NMK_RSPD, NoticeBrspd);
999 }
1000
1001 public static final EnumMap<CatNMK, Symbol> NmkPpwbc = new EnumMap<CatNMK, Symbol>(CatNMK.class);
1002 static {
1003 NmkPpwbc.put(CatNMK.NMK_WRAL, Notice); NmkPpwbc.put(CatNMK.NMK_WLAR, Notice); NmkPpwbc.put(CatNMK.NMK_KTPM, Notice); NmkPpwbc.put(CatNMK.NMK_KTSM, Notice);
1004 NmkPpwbc.put(CatNMK.NMK_KTMR, Notice); NmkPpwbc.put(CatNMK.NMK_CRTP, Notice); NmkPpwbc.put(CatNMK.NMK_CRTS, Notice);
1005 }
1006
1007 public static Scheme getScheme(MarSYS sys, BnkWTW bank) {
1008 ArrayList<Color> colours = new ArrayList<Color>();
1009 Scheme scheme = new Scheme(null, colours);
1010 switch (sys) {
1011 case SYS_BNWR:
1012 switch (bank) {
1013 case BWW_LEFT:
1014 colours.add(Color.white);
1015 colours.add(new Color(0xf00000));
1016 break;
1017 case BWW_RGHT:
1018 colours.add(Color.white);
1019 colours.add(new Color(0x00a000));
1020 break;
1021 default:
1022 colours.add(new Color(0xff8040));
1023 colours.add(Color.black);
1024 break;
1025 }
1026 break;
1027 case SYS_PPWB:
1028 switch (bank) {
1029 case BWW_LEFT:
1030 colours.add(Color.white);
1031 colours.add(new Color(0xd40000));
1032 break;
1033 case BWW_RGHT:
1034 colours.add(Color.white);
1035 colours.add(new Color(0x00d400));
1036 break;
1037 default:
1038 break;
1039 }
1040 break;
1041 default:
1042 break;
1043 }
1044 return scheme;
1045 }
1046
1047 public static Symbol getNotice(CatNMK cat, MarSYS sys) {
1048 Symbol symbol = null;
1049 switch (sys) {
1050 case SYS_CEVN:
1051 symbol = NmkCevni.get(cat);
1052 break;
1053 case SYS_BNWR:
1054 symbol = NmkBniwr.get(cat);
1055 break;
1056 case SYS_PPWB:
1057 symbol = NmkPpwbc.get(cat);
1058 break;
1059 default:
1060 break;
1061 }
1062 return symbol;
1063 }
1064}
Note: See TracBrowser for help on using the repository browser.