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

Last change on this file since 30027 was 29992, 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.Rectangle;
16import java.awt.geom.*;
17import java.util.ArrayList;
18import java.util.EnumMap;
19
20import s57.S57val.*;
21import symbols.Symbols.*;
22
23public class Notices {
24 private static final Symbol Bollard = new Symbol();
25 static {
26 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 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);
28 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);
29 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();
30 Bollard.add(new Instr(Prim.PGON, p));
31 }
32 private static final Symbol Motor = new Symbol();
33 static {
34 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);
35 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);
36 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);
37 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();
38 Motor.add(new Instr(Prim.PGON, p));
39 }
40 private static final Symbol Rowboat = new Symbol();
41 static {
42 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();
43 Rowboat.add(new Instr(Prim.PGON, p));
44 Rowboat.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-6,-17.5,6,6)));
45 Rowboat.add(new Instr(Prim.STRK, new BasicStroke(5, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
46 Rowboat.add(new Instr(Prim.LINE, new Line2D.Double(-5.5,-9,-8,0)));
47 Rowboat.add(new Instr(Prim.LINE, new Line2D.Double(-5.0,10.0,-7.5,14.0)));
48 Rowboat.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
49 Rowboat.add(new Instr(Prim.LINE, new Line2D.Double(-5.5,-9,7,-6.5)));
50 Rowboat.add(new Instr(Prim.LINE, new Line2D.Double(7.3,-7.8,-5.0,10.0)));
51 }
52 private static final Symbol Sailboard = new Symbol();
53 static {
54 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();
55 Sailboard.add(new Instr(Prim.PGON, p));
56 Sailboard.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
57 Sailboard.add(new Instr(Prim.LINE, new Line2D.Double(-2,20,-10,20)));
58 Sailboard.add(new Instr(Prim.LINE, new Line2D.Double(-13,2.5,-3,2.5)));
59 Sailboard.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-15,-4,5,5)));
60 Sailboard.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
61 p = new Path2D.Double(); p.moveTo(-13,2.5); p.lineTo(-12,6.0); p.lineTo(-12,9.5);
62 Sailboard.add(new Instr(Prim.PLIN, p));
63 Sailboard.add(new Instr(Prim.STRK, new BasicStroke(3, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
64 p = new Path2D.Double(); p.moveTo(-12,9.5); p.lineTo(-7.5,13.0); p.lineTo(-6.0,19.0);
65 Sailboard.add(new Instr(Prim.PLIN, p));
66 }
67 private static final Symbol Sailboat = new Symbol();
68 static {
69 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();
70 Sailboat.add(new Instr(Prim.PGON, p));
71 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();
72 Sailboat.add(new Instr(Prim.PGON, p));
73 }
74 private static final Symbol Slipway = new Symbol();
75 static {
76 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();
77 p.moveTo(-14,7); p.lineTo(-14,11); p.lineTo(20,11); p.lineTo(20,2); p.closePath();
78 Slipway.add(new Instr(Prim.PGON, p));
79 Slipway.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
80 Slipway.add(new Instr(Prim.LINE, new Line2D.Double(-14,3,20,-2.5)));
81 Slipway.add(new Instr(Prim.STRK, new BasicStroke(1, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
82 Slipway.add(new Instr(Prim.ELPS, new Ellipse2D.Double(1,1.5,3,3)));
83 p = new Path2D.Double(); p.moveTo(-21,8.5); p.curveTo(-17.5, 5, -17.5, 12, -13, 7.2);
84 Slipway.add(new Instr(Prim.PLIN, p));
85 }
86 private static final Symbol Speedboat = new Symbol();
87 static {
88 Speedboat.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
89 Speedboat.add(new Instr(Prim.LINE, new Line2D.Double(-21,0,-17,-1)));
90 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);
91 Speedboat.add(new Instr(Prim.PLIN, p));
92 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);
93 p.lineTo(9.5,-6); p.lineTo(6.5,-8); p.lineTo(2.5,-4); p.closePath();
94 Speedboat.add(new Instr(Prim.PGON, p));
95 Speedboat.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-1.5,-13,5,5)));
96 Speedboat.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
97 Speedboat.add(new Instr(Prim.LINE, new Line2D.Double(-2,-7,-5,0)));
98 Speedboat.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
99 Speedboat.add(new Instr(Prim.LINE, new Line2D.Double(-2,-7,5,-5)));
100 }
101 private static final Symbol Turn = new Symbol();
102 static {
103 Turn.add(new Instr(Prim.STRK, new BasicStroke(5, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
104 Turn.add(new Instr(Prim.EARC, new Arc2D.Double(-9.0,-9.0,18.0,18.0,270.0,230.0,Arc2D.OPEN)));
105 Turn.add(new Instr(Prim.EARC, new Arc2D.Double(-20.0,-20.0,40.0,40.0,315.0,-280.0,Arc2D.OPEN)));
106 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();
107 p.moveTo(-12.9,0.7); p.lineTo(-1.7,-2.3); p.lineTo(-9.9,-10.5); p.closePath();
108 Turn.add(new Instr(Prim.PGON, p));
109 }
110 private static final Symbol Waterbike = new Symbol();
111 static {
112 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);
113 Waterbike.add(new Instr(Prim.PLIN, p));
114 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();
115 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();
116 Waterbike.add(new Instr(Prim.PGON, p));
117 Waterbike.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
118 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);
119 Waterbike.add(new Instr(Prim.PLIN, p));
120 Waterbike.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
121 Waterbike.add(new Instr(Prim.LINE, new Line2D.Double(-11.5,-10.5,-3,-8.5)));
122 Waterbike.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-11.5,-18,5,5)));
123 }
124 private static final Symbol Waterski = new Symbol();
125 static {
126 Waterski.add(new Instr(Prim.RSHP, new Ellipse2D.Double(12,-18,6,6)));
127 Waterski.add(new Instr(Prim.STRK, new BasicStroke(1, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
128 Waterski.add(new Instr(Prim.LINE, new Line2D.Double(-18,-6,0,-6)));
129 Waterski.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
130 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);
131 Waterski.add(new Instr(Prim.PLIN, p));
132 Waterski.add(new Instr(Prim.STRK, new BasicStroke(5, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND)));
133 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);
134 Waterski.add(new Instr(Prim.PLIN, p));
135 }
136 private static final Symbol NoticeA = new Symbol();
137 static {
138 NoticeA.add(new Instr(Prim.FILL, new Color(0xe80000)));
139 NoticeA.add(new Instr(Prim.RSHP, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
140 NoticeA.add(new Instr(Prim.FILL, Color.white));
141 NoticeA.add(new Instr(Prim.RSHP, new Rectangle2D.Double(-21,-21,42,42)));
142 NoticeA.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_ROUND, BasicStroke.JOIN_MITER)));
143 NoticeA.add(new Instr(Prim.FILL, new Color(0xe80000)));
144 NoticeA.add(new Instr(Prim.LINE, new Line2D.Double(-25,-25,25,25)));
145 NoticeA.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
146 NoticeA.add(new Instr(Prim.FILL, Color.black));
147 NoticeA.add(new Instr(Prim.RRCT, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
148 }
149 private static final Symbol NoticeB = new Symbol();
150 static {
151 NoticeB.add(new Instr(Prim.FILL, new Color(0xe80000)));
152 NoticeB.add(new Instr(Prim.RSHP, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
153 NoticeB.add(new Instr(Prim.FILL, Color.white));
154 NoticeB.add(new Instr(Prim.RSHP, new Rectangle2D.Double(-21,-21,42,42)));
155 NoticeB.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
156 NoticeB.add(new Instr(Prim.FILL, Color.black));
157 NoticeB.add(new Instr(Prim.RRCT, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
158 }
159 private static final Symbol NoticeE = new Symbol();
160 static {
161 NoticeE.add(new Instr(Prim.FILL, new Color(0x0000a0)));
162 NoticeE.add(new Instr(Prim.RSHP, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
163 NoticeE.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
164 NoticeE.add(new Instr(Prim.FILL, Color.black));
165 NoticeE.add(new Instr(Prim.RRCT, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
166 NoticeE.add(new Instr(Prim.FILL, Color.white));
167 }
168 public static final Symbol Notice = new Symbol();
169 static {
170 Notice.add(new Instr(Prim.FILL, new Color(0xe80000)));
171 Notice.add(new Instr(Prim.RSHP, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
172 Notice.add(new Instr(Prim.FILL, new Color(0x0000a0)));
173 Notice.add(new Instr(Prim.RSHP, new Rectangle2D.Double(-21,-21,42,42)));
174 Notice.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
175 Notice.add(new Instr(Prim.FILL, Color.black));
176 Notice.add(new Instr(Prim.RRCT, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
177 }
178 public static final Symbol NoticeA1 = new Symbol();
179 static {
180 NoticeA1.add(new Instr(Prim.FILL, new Color(0xe80000)));
181 NoticeA1.add(new Instr(Prim.RSHP, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
182 NoticeA1.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
183 NoticeA1.add(new Instr(Prim.FILL, Color.white));
184 NoticeA1.add(new Instr(Prim.RSHP, new Rectangle2D.Double(-30,-10,60,20)));
185 NoticeA1.add(new Instr(Prim.FILL, Color.black));
186 NoticeA1.add(new Instr(Prim.RRCT, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
187 }
188 public static final Symbol NoticeA1a = new Symbol();
189 static {
190 NoticeA1a.add(new Instr(Prim.FILL, new Color(0xe80000)));
191 NoticeA1a.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-30,-30,60,60)));
192 NoticeA1a.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
193 NoticeA1a.add(new Instr(Prim.FILL, Color.white));
194 NoticeA1a.add(new Instr(Prim.RSHP, new Rectangle2D.Double(-29,-10,58,20)));
195 NoticeA1a.add(new Instr(Prim.FILL, Color.black));
196 NoticeA1a.add(new Instr(Prim.ELPS, new Ellipse2D.Double(-30,-30,60,60)));
197 }
198 public static final Symbol NoticeA2 = new Symbol();
199 static {
200 NoticeA2.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
201 NoticeA2.add(new Instr(Prim.FILL, Color.black));
202 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);
203 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();
204 NoticeA2.add(new Instr(Prim.PGON, p));
205 }
206 public static final Symbol NoticeA3 = new Symbol();
207 static {
208 NoticeA3.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA2, 1.0, 0, 0, null, null)));
209 Path2D.Double p = new Path2D.Double(); p.moveTo(-10,12); p.lineTo(-6,12); p.lineTo(-12.5,4); p.lineTo(-19,12);
210 p.closePath(); p.moveTo(10,-3); p.lineTo(6,-3); p.lineTo(12.5,-11); p.lineTo(19,-3); p.closePath();
211 NoticeA3.add(new Instr(Prim.PGON, p));
212 }
213 public static final Symbol NoticeA4 = new Symbol();
214 static {
215 NoticeA4.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
216 NoticeA4.add(new Instr(Prim.FILL, Color.black));
217 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);
218 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();
219 NoticeA4.add(new Instr(Prim.PGON, p));
220 }
221 public static final Symbol NoticeA4_1 = new Symbol();
222 static {
223 NoticeA4_1.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA4, 1.0, 0, 0, null, null)));
224 Path2D.Double p = new Path2D.Double(); p.moveTo(-10,-4); p.lineTo(-6,-4); p.lineTo(-12.5,4); p.lineTo(-19,-4);
225 p.closePath(); p.moveTo(10,5); p.lineTo(6,5); p.lineTo(12.5,-3); p.lineTo(19,5); p.closePath();
226 NoticeA4_1.add(new Instr(Prim.PGON, p));
227 }
228 public static final Symbol NoticeA5 = new Symbol();
229 static {
230 NoticeA5.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
231 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);
232 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();
233 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();
234 NoticeA5.add(new Instr(Prim.PGON, p));
235 }
236 public static final Symbol NoticeA5_1 = new Symbol();
237 static {
238 NoticeA5_1.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
239 }
240 public static final Symbol NoticeA6 = new Symbol();
241 static {
242 NoticeA6.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
243 NoticeA6.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Harbours.Anchor, 0.4, 0, 0, new Delta(Handle.CC, AffineTransform.getRotateInstance(Math.toRadians(180.0))), null)));
244 }
245 public static final Symbol NoticeA7 = new Symbol();
246 static {
247 NoticeA7.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
248 NoticeA7.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Bollard, 1.0, 0, 0, null, null)));
249 }
250 public static final Symbol NoticeA8 = new Symbol();
251 static {
252 NoticeA8.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
253 NoticeA8.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Turn, 1.0, 0, 0, null, null)));
254 }
255 public static final Symbol NoticeA9 = new Symbol();
256 static {
257 NoticeA9.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
258 NoticeA9.add(new Instr(Prim.STRK, new BasicStroke(7, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
259 NoticeA9.add(new Instr(Prim.FILL, Color.black));
260 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);
261 p.moveTo(-23,-3); p.curveTo(-11,-3,-12,-9,0,-9); p.curveTo(12,-9,11,-3,23,-3);
262 NoticeA9.add(new Instr(Prim.PLIN, p));
263 }
264 public static final Symbol NoticeA10a = new Symbol();
265 static {
266 NoticeA10a.add(new Instr(Prim.BBOX, new Rectangle(-30,-30,60,60)));
267 NoticeA10a.add(new Instr(Prim.FILL, Color.white));
268 Path2D.Double p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(30,0); p.lineTo(0,30); p.closePath();
269 NoticeA10a.add(new Instr(Prim.PGON, p));
270 NoticeA10a.add(new Instr(Prim.FILL, new Color(0xe80000)));
271 p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(-30,0); p.lineTo(0,30); p.closePath();
272 NoticeA10a.add(new Instr(Prim.PGON, p));
273 NoticeA10a.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
274 NoticeA10a.add(new Instr(Prim.FILL, Color.black));
275 p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(-30,0); p.lineTo(0,30); p.lineTo(30,0); p.closePath();
276 NoticeA10a.add(new Instr(Prim.PLIN, p));
277 }
278 public static final Symbol NoticeA10b = new Symbol();
279 static {
280 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)));
281 }
282 public static final Symbol NoticeA12 = new Symbol();
283 static {
284 NoticeA12.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
285 NoticeA12.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Motor, 1.0, 0, 0, null, null)));
286 }
287 public static final Symbol NoticeA13 = new Symbol();
288 static {
289 NoticeA13.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
290 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)))));
291 }
292 public static final Symbol NoticeA14 = new Symbol();
293 static {
294 NoticeA14.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
295 NoticeA14.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Waterski, 1.0, 0, 0, null, null)));
296 }
297 public static final Symbol NoticeA15 = new Symbol();
298 static {
299 NoticeA15.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
300 NoticeA15.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Sailboat, 1.0, 0, 0, null, null)));
301 }
302 public static final Symbol NoticeA16 = new Symbol();
303 static {
304 NoticeA16.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
305 NoticeA16.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Rowboat, 1.0, 0, 0, null, null)));
306 }
307 public static final Symbol NoticeA17 = new Symbol();
308 static {
309 NoticeA17.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
310 NoticeA17.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Sailboard, 1.0, 0, 0, null, null)));
311 }
312 public static final Symbol NoticeA18 = new Symbol();
313 static {
314 NoticeA18.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
315 NoticeA18.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Speedboat, 1.0, 0, 0, null, null)));
316 }
317 public static final Symbol NoticeA19 = new Symbol();
318 static {
319 NoticeA19.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
320 NoticeA19.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Slipway, 1.0, 0, 0, null, null)));
321 }
322 public static final Symbol NoticeA20 = new Symbol();
323 static {
324 NoticeA20.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeA, 1.0, 0, 0, null, null)));
325 NoticeA20.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Waterbike, 1.0, 0, 0, null, null)));
326 }
327 public static final Symbol NoticeB1a = new Symbol();
328 static {
329 NoticeB1a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
330 Path2D.Double p = new Path2D.Double(); p.moveTo(21,8); p.lineTo(-8,8); p.lineTo(-8,18); p.lineTo(-21,0);
331 p.lineTo(-8,-18); p.lineTo(-8,-8); p.lineTo(21,-8); p.closePath();
332 NoticeB1a.add(new Instr(Prim.PGON, p));
333 }
334 public static final Symbol NoticeB1b = new Symbol();
335 static {
336 NoticeB1b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
337 Path2D.Double p = new Path2D.Double(); p.moveTo(-21,8); p.lineTo(8,8); p.lineTo(8,18); p.lineTo(21,0);
338 p.lineTo(8,-18); p.lineTo(8,-8); p.lineTo(-21,-8); p.closePath();
339 NoticeB1b.add(new Instr(Prim.PGON, p));
340 }
341 public static final Symbol NoticeB2a = new Symbol();
342 static {
343 NoticeB2a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
344 NoticeB2a.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
345 Path2D.Double p = new Path2D.Double(); p.moveTo(18,21); p.lineTo(18,10); p.lineTo(-15,-10); p.lineTo(-15,-15);
346 NoticeB2a.add(new Instr(Prim.PLIN, p));
347 p = new Path2D.Double(); p.moveTo(-15,-21); p.lineTo(-21,-15); p.lineTo(-9,-15); p.closePath();
348 NoticeB2a.add(new Instr(Prim.PGON, p));
349 }
350 public static final Symbol NoticeB2b = new Symbol();
351 static {
352 NoticeB2b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
353 NoticeB2b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
354 NoticeB2b.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
355 Path2D.Double p = new Path2D.Double(); p.moveTo(-18,21); p.lineTo(-18,10); p.lineTo(15,-10); p.lineTo(15,-15);
356 NoticeB2b.add(new Instr(Prim.PLIN, p));
357 p = new Path2D.Double(); p.moveTo(15,-21); p.lineTo(21,-15); p.lineTo(9,-15); p.closePath();
358 NoticeB2b.add(new Instr(Prim.PGON, p));
359 }
360 public static final Symbol NoticeB3a = new Symbol();
361 static {
362 NoticeB3a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
363 NoticeB3a.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
364 NoticeB3a.add(new Instr(Prim.LINE, new Line2D.Double(-15,21,-15,-15)));
365 Path2D.Double p = new Path2D.Double(); p.moveTo(-15,-21); p.lineTo(-21,-15); p.lineTo(-9,-15); p.closePath();
366 NoticeB3a.add(new Instr(Prim.PGON, p));
367 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)));
368 NoticeB3a.add(new Instr(Prim.LINE, new Line2D.Double(15,-21,15,15)));
369 p = new Path2D.Double(); p.moveTo(15,21); p.lineTo(21,15); p.lineTo(9,15); p.closePath();
370 NoticeB3a.add(new Instr(Prim.PGON, p));
371 }
372 public static final Symbol NoticeB3b = new Symbol();
373 static {
374 NoticeB3b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
375 NoticeB3b.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
376 NoticeB3b.add(new Instr(Prim.LINE, new Line2D.Double(15,21,15,-15)));
377 Path2D.Double p = new Path2D.Double(); p.moveTo(15,-21); p.lineTo(21,-15); p.lineTo(9,-15); p.closePath();
378 NoticeB3b.add(new Instr(Prim.PGON, p));
379 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)));
380 NoticeB3b.add(new Instr(Prim.LINE, new Line2D.Double(-15,-21,-15,15)));
381 p = new Path2D.Double(); p.moveTo(-15,21); p.lineTo(-21,15); p.lineTo(-9,15); p.closePath();
382 NoticeB3b.add(new Instr(Prim.PGON, p));
383 }
384 public static final Symbol NoticeB4a = new Symbol();
385 static {
386 NoticeB4a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB2a, 1.0, 0, 0, null, null)));
387 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)));
388 Path2D.Double p = new Path2D.Double(); p.moveTo(18,-21); p.lineTo(18,-10); p.lineTo(-15,10); p.lineTo(-15,15);
389 NoticeB4a.add(new Instr(Prim.PLIN, p));
390 p = new Path2D.Double(); p.moveTo(-15,21); p.lineTo(-21,15); p.lineTo(-9,15); p.closePath();
391 NoticeB4a.add(new Instr(Prim.PGON, p));
392 }
393 public static final Symbol NoticeB4b = new Symbol();
394 static {
395 NoticeB4b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB2b, 1.0, 0, 0, null, null)));
396 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)));
397 Path2D.Double p = new Path2D.Double(); p.moveTo(-18,-21); p.lineTo(-18,-10); p.lineTo(15,10); p.lineTo(15,15);
398 NoticeB4b.add(new Instr(Prim.PLIN, p));
399 p = new Path2D.Double(); p.moveTo(15,21); p.lineTo(21,15); p.lineTo(9,15); p.closePath();
400 NoticeB4b.add(new Instr(Prim.PGON, p));
401 }
402 public static final Symbol NoticeB5 = new Symbol();
403 static {
404 NoticeB5.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
405 NoticeB5.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_ROUND, BasicStroke.JOIN_MITER)));
406 NoticeB5.add(new Instr(Prim.LINE, new Line2D.Double(15,0,-15,0)));
407 }
408 public static final Symbol NoticeB6 = new Symbol();
409 static {
410 NoticeB6.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
411 }
412 public static final Symbol NoticeB7 = new Symbol();
413 static {
414 NoticeB7.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
415 NoticeB7.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-10,-10,20,20)));
416 }
417 public static final Symbol NoticeB8 = new Symbol();
418 static {
419 NoticeB8.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
420 NoticeB8.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_ROUND, BasicStroke.JOIN_MITER)));
421 NoticeB8.add(new Instr(Prim.LINE, new Line2D.Double(0,15,0,-15)));
422 }
423 public static final Symbol NoticeB9a = new Symbol();
424 static {
425 NoticeB9a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
426 NoticeB9a.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
427 NoticeB9a.add(new Instr(Prim.LINE, new Line2D.Double(-21,0,21,0)));
428 NoticeB9a.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
429 NoticeB9a.add(new Instr(Prim.LINE, new Line2D.Double(0,21,0,0)));
430 }
431 public static final Symbol NoticeB9b = new Symbol();
432 static {
433 NoticeB9b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
434 NoticeB9b.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
435 NoticeB9b.add(new Instr(Prim.LINE, new Line2D.Double(-21,0,21,0)));
436 NoticeB9b.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
437 NoticeB9b.add(new Instr(Prim.LINE, new Line2D.Double(0,21,0,-21)));
438 }
439 public static final Symbol NoticeB11 = new Symbol();
440 static {
441 NoticeB11.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
442 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)))));
443 }
444 public static final Symbol NoticeC1 = new Symbol();
445 static {
446 NoticeC1.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
447 Path2D.Double p = new Path2D.Double(); p.moveTo(-15,21); p.lineTo(0,12); p.lineTo(15,21); p.closePath();
448 NoticeC1.add(new Instr(Prim.PGON, p));
449 }
450 public static final Symbol NoticeC2 = new Symbol();
451 static {
452 NoticeC2.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
453 Path2D.Double p = new Path2D.Double(); p.moveTo(-15,-21); p.lineTo(0,-12); p.lineTo(15,-21); p.closePath();
454 NoticeC2.add(new Instr(Prim.PGON, p));
455 }
456 public static final Symbol NoticeC3 = new Symbol();
457 static {
458 NoticeC3.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
459 Path2D.Double p = new Path2D.Double(); p.moveTo(21,-15); p.lineTo(12,0); p.lineTo(21,15); p.closePath();
460 p.moveTo(-21,-15); p.lineTo(-12,0); p.lineTo(-21,15); p.closePath();
461 NoticeC3.add(new Instr(Prim.PGON, p));
462 }
463 public static final Symbol NoticeC4 = new Symbol();
464 static {
465 NoticeC4.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
466 }
467 public static final Symbol NoticeC5a = new Symbol();
468 static {
469 NoticeC5a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
470 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();
471 NoticeC5a.add(new Instr(Prim.PGON, p));
472 }
473 public static final Symbol NoticeC5b = new Symbol();
474 static {
475 NoticeC5b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeB, 1.0, 0, 0, null, null)));
476 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();
477 NoticeC5b.add(new Instr(Prim.PGON, p));
478 }
479 public static final Symbol NoticeD1a = new Symbol();
480 static {
481 NoticeD1a.add(new Instr(Prim.BBOX, new Rectangle(-30,-30,60,60)));
482 NoticeD1a.add(new Instr(Prim.FILL, Color.yellow));
483 Path2D.Double p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(-30,0); p.lineTo(0,30); p.lineTo(30,0); p.closePath();
484 NoticeD1a.add(new Instr(Prim.PGON, p));
485 NoticeD1a.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
486 NoticeD1a.add(new Instr(Prim.FILL, Color.black));
487 NoticeD1a.add(new Instr(Prim.PLIN, p));
488 }
489 public static final Symbol NoticeD1b = new Symbol();
490 static {
491 NoticeD1b.add(new Instr(Prim.BBOX, new Rectangle(-30,-30,60,60)));
492 NoticeD1b.add(new Instr(Prim.FILL, Color.yellow));
493 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();
494 NoticeD1b.add(new Instr(Prim.PGON, p));
495 NoticeD1b.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
496 NoticeD1b.add(new Instr(Prim.FILL, Color.black));
497 NoticeD1b.add(new Instr(Prim.PLIN, p));
498 }
499 public static final Symbol NoticeD2a = new Symbol();
500 static {
501 NoticeD2a.add(new Instr(Prim.BBOX, new Rectangle(-30,-30,60,60)));
502 NoticeD2a.add(new Instr(Prim.FILL, Color.white));
503 Path2D.Double p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(30,0); p.lineTo(0,30); p.closePath();
504 NoticeD2a.add(new Instr(Prim.PGON, p));
505 NoticeD2a.add(new Instr(Prim.FILL, new Color(0x00e800)));
506 p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(30,0); p.lineTo(0,30); p.closePath();
507 NoticeD2a.add(new Instr(Prim.PGON, p));
508 NoticeD2a.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
509 NoticeD2a.add(new Instr(Prim.FILL, Color.black));
510 p = new Path2D.Double(); p.moveTo(0,-30); p.lineTo(-30,0); p.lineTo(0,30); p.lineTo(30,0); p.closePath();
511 NoticeD2a.add(new Instr(Prim.PLIN, p));
512 }
513 public static final Symbol NoticeD2b = new Symbol();
514 static {
515 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)));
516 }
517 public static final Symbol NoticeD3a = new Symbol();
518 static {
519 NoticeD3a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
520 Path2D.Double p = new Path2D.Double(); p.moveTo(28,10); p.lineTo(-10,10); p.lineTo(-10,20); p.lineTo(-28,0);
521 p.lineTo(-10,-20); p.lineTo(-10,-10); p.lineTo(28,-10); p.closePath();
522 NoticeD3a.add(new Instr(Prim.PGON, p));
523 }
524 public static final Symbol NoticeD3b = new Symbol();
525 static {
526 NoticeD3b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
527 Path2D.Double p = new Path2D.Double(); p.moveTo(-28,10); p.lineTo(10,10); p.lineTo(10,20); p.lineTo(28,0);
528 p.lineTo(10,-20); p.lineTo(10,-10); p.lineTo(-28,-10); p.closePath();
529 NoticeD3b.add(new Instr(Prim.PGON, p));
530 }
531 public static final Symbol NoticeE1 = new Symbol();
532 static {
533 NoticeE1.add(new Instr(Prim.FILL, new Color(0x00e800)));
534 NoticeE1.add(new Instr(Prim.RSHP, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
535 NoticeE1.add(new Instr(Prim.STRK, new BasicStroke(2, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
536 NoticeE1.add(new Instr(Prim.FILL, Color.white));
537 NoticeE1.add(new Instr(Prim.RSHP, new Rectangle2D.Double(-10,-30,20,60)));
538 NoticeE1.add(new Instr(Prim.FILL, Color.black));
539 NoticeE1.add(new Instr(Prim.RRCT, new RoundRectangle2D.Double(-30,-30,60,60,4,4)));
540 }
541 public static final Symbol NoticeE2 = new Symbol();
542 static {
543 NoticeE2.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
544 Path2D.Double p = new Path2D.Double(); p.moveTo(5,-25); p.lineTo(-10,-1); p.lineTo(10,-1); p.lineTo(-10,20);
545 p.lineTo(-7,20); p.lineTo(-12,25); p.lineTo(-16,20); p.lineTo(-13,20); p.lineTo(4,1); p.lineTo(-14,1);
546 p.lineTo(2,-25); p.closePath();
547 NoticeE2.add(new Instr(Prim.PGON, p));
548 }
549 public static final Symbol NoticeE3 = new Symbol();
550 static {
551 NoticeE3.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
552 NoticeE3.add(new Instr(Prim.STRK, new BasicStroke(5, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
553 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(25,-20,25,20)));
554 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(-25,-20,-25,20)));
555 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(-15,-15,-15,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(5,-15,5,20)));
558 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(15,-15,15,20)));
559 NoticeE3.add(new Instr(Prim.STRK, new BasicStroke(3, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
560 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(-26,18.5,26,18.5)));
561 NoticeE3.add(new Instr(Prim.LINE, new Line2D.Double(-26,-15,26,-15)));
562 }
563 public static final Symbol NoticeE4a = new Symbol();
564 static {
565 NoticeE4a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
566 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);
567 p.lineTo(20,-10); p.lineTo(15,0); p.lineTo(-15,0); p.closePath();
568 p.moveTo(-25,5); p.lineTo(25,5); p.lineTo(25,10); p.lineTo(-25,10); p.closePath();
569 NoticeE4a.add(new Instr(Prim.PGON, p));
570 }
571 public static final Symbol NoticeE4b = new Symbol();
572 static {
573 NoticeE4b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
574 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);
575 p.lineTo(20,0); p.lineTo(15,10); p.lineTo(-15,10); p.closePath();
576 NoticeE4b.add(new Instr(Prim.PGON, p));
577 }
578 public static final Symbol NoticeE5 = new Symbol();
579 static {
580 NoticeE5.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
581 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);
582 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();
583 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();
584 NoticeE5.add(new Instr(Prim.PGON, p));
585 }
586 public static final Symbol NoticeE5_1 = new Symbol();
587 static {
588 NoticeE5_1.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
589 }
590 public static final Symbol NoticeE5_2 = new Symbol();
591 static {
592 NoticeE5_2.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
593 }
594 public static final Symbol NoticeE5_3 = new Symbol();
595 static {
596 NoticeE5_3.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
597 }
598 public static final Symbol NoticeE5_4 = new Symbol();
599 static {
600 NoticeE5_4.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
601 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD);
602 p.moveTo(-28,25); p.lineTo(0,-28); p.lineTo(28,25); p.closePath();
603 NoticeE5_4.add(new Instr(Prim.PGON, p));
604 }
605 public static final Symbol NoticeE5_5 = new Symbol();
606 static {
607 NoticeE5_5.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
608 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD);
609 p.moveTo(-28,25); p.lineTo(0,-28); p.lineTo(28,25); p.closePath();
610 p.moveTo(0,24); p.lineTo(-15,2); p.lineTo(15,2); p.closePath();
611 NoticeE5_5.add(new Instr(Prim.PGON, p));
612 }
613 public static final Symbol NoticeE5_6 = new Symbol();
614 static {
615 NoticeE5_6.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
616 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD);
617 p.moveTo(-28,25); p.lineTo(0,-28); p.lineTo(28,25); p.closePath();
618 p.moveTo(0,7); p.lineTo(-10,-8); p.lineTo(10,-8); p.closePath();
619 p.moveTo(0,24); p.lineTo(-10,9); p.lineTo(10,9); p.closePath();
620 NoticeE5_6.add(new Instr(Prim.PGON, p));
621 }
622 public static final Symbol NoticeE5_7 = new Symbol();
623 static {
624 NoticeE5_7.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
625 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD);
626 p.moveTo(-28,25); p.lineTo(0,-28); p.lineTo(28,25); p.closePath();
627 p.moveTo(0,-1); p.lineTo(-8,-11); p.lineTo(8,-11); p.closePath();
628 p.moveTo(0,11); p.lineTo(-8,1); p.lineTo(8,1); p.closePath();
629 p.moveTo(0,23); p.lineTo(-8,13); p.lineTo(8,13); p.closePath();
630 NoticeE5_7.add(new Instr(Prim.PGON, p));
631 }
632 public static final Symbol NoticeE5_8 = new Symbol();
633 static {
634 NoticeE5_8.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
635 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD);
636 p.moveTo(-28,-25); p.lineTo(0,28); p.lineTo(28,-25); p.closePath();
637 NoticeE5_8.add(new Instr(Prim.PGON, p));
638 }
639 public static final Symbol NoticeE5_9 = new Symbol();
640 static {
641 NoticeE5_9.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
642 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD);
643 p.moveTo(-28,-25); p.lineTo(0,28); p.lineTo(28,-25); p.closePath();
644 p.moveTo(0,8); p.lineTo(-15,-14); p.lineTo(15,-14); p.closePath();
645 NoticeE5_9.add(new Instr(Prim.PGON, p));
646 }
647 public static final Symbol NoticeE5_10 = new Symbol();
648 static {
649 NoticeE5_10.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
650 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD);
651 p.moveTo(-28,-25); p.lineTo(0,28); p.lineTo(28,-25); p.closePath();
652 p.moveTo(0,-5); p.lineTo(-10,-20); p.lineTo(10,-20); p.closePath();
653 p.moveTo(0,15); p.lineTo(-10,0); p.lineTo(10,0); p.closePath();
654 NoticeE5_10.add(new Instr(Prim.PGON, p));
655 }
656 public static final Symbol NoticeE5_11 = new Symbol();
657 static {
658 NoticeE5_11.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
659 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD);
660 p.moveTo(-28,-25); p.lineTo(0,28); p.lineTo(28,-25); p.closePath();
661 p.moveTo(0,-12); p.lineTo(-8,-22); p.lineTo(8,-22); p.closePath();
662 p.moveTo(0,3); p.lineTo(-8,-7); p.lineTo(8,-7); p.closePath();
663 p.moveTo(0,18); p.lineTo(-8,8); p.lineTo(8,8); p.closePath();
664 NoticeE5_11.add(new Instr(Prim.PGON, p));
665 }
666 public static final Symbol NoticeE5_12 = new Symbol();
667 static {
668 NoticeE5_12.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
669 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD);
670 p.moveTo(-28,0); p.lineTo(0,28); p.lineTo(28,0); p.lineTo(0,-28); p.closePath();
671 NoticeE5_12.add(new Instr(Prim.PGON, p));
672 }
673 public static final Symbol NoticeE5_13 = new Symbol();
674 static {
675 NoticeE5_13.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
676 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD);
677 p.moveTo(-28,0); p.lineTo(0,28); p.lineTo(28,0); p.lineTo(0,-28); p.closePath();
678 p.moveTo(0,15); p.lineTo(-15,-7); p.lineTo(15,-7); p.closePath();
679 NoticeE5_13.add(new Instr(Prim.PGON, p));
680 }
681 public static final Symbol NoticeE5_14 = new Symbol();
682 static {
683 NoticeE5_14.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
684 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD);
685 p.moveTo(-28,0); p.lineTo(0,28); p.lineTo(28,0); p.lineTo(0,-28); p.closePath();
686 p.moveTo(0,0); p.lineTo(-10,-15); p.lineTo(10,-15); p.closePath();
687 p.moveTo(0,20); p.lineTo(-10,5); p.lineTo(10,5); p.closePath();
688 NoticeE5_14.add(new Instr(Prim.PGON, p));
689 }
690 public static final Symbol NoticeE5_15 = new Symbol();
691 static {
692 NoticeE5_15.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
693 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD);
694 p.moveTo(-28,0); p.lineTo(0,28); p.lineTo(28,0); p.lineTo(0,-28); p.closePath();
695 p.moveTo(0,-7); p.lineTo(-8,-17); p.lineTo(8,-17); p.closePath();
696 p.moveTo(0,8); p.lineTo(-8,-2); p.lineTo(8,-2); p.closePath();
697 p.moveTo(0,23); p.lineTo(-8,13); p.lineTo(8,13); p.closePath();
698 NoticeE5_15.add(new Instr(Prim.PGON, p));
699 }
700 public static final Symbol NoticeE6 = new Symbol();
701 static {
702 NoticeE6.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
703 NoticeE6.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Harbours.Anchor, 0.4, 0, 0, null, null)));
704 }
705 public static final Symbol NoticeE7 = new Symbol();
706 static {
707 NoticeE7.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
708 NoticeE7.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Bollard, 1.0, 0, 0, null, null)));
709 }
710 public static final Symbol NoticeE7_1 = new Symbol();
711 static {
712 NoticeE7_1.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
713 NoticeE7_1.add(new Instr(Prim.STRK, new BasicStroke(5, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
714 NoticeE7_1.add(new Instr(Prim.LINE, new Line2D.Double(20,25,20,-10)));
715 NoticeE7_1.add(new Instr(Prim.LINE, new Line2D.Double(22,-8,-15,-20)));
716 NoticeE7_1.add(new Instr(Prim.STRK, new BasicStroke(3, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
717 NoticeE7_1.add(new Instr(Prim.LINE, new Line2D.Double(20,8,0,-15)));
718 Path2D.Double p = new Path2D.Double(); p.setWindingRule(GeneralPath.WIND_EVEN_ODD);
719 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);
720 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();
721 p.moveTo(-15,4); p.quadTo(-3,2,5,4); p.lineTo(6,11); p.quadTo(-5,9,-16,11); p.closePath();
722 NoticeE7_1.add(new Instr(Prim.PGON, p));
723 NoticeE7_1.add(new Instr(Prim.FILL, new Color(0x0000a0)));
724 NoticeE7_1.add(new Instr(Prim.RSHP, new Ellipse2D.Double(-16,13,4,4)));
725 NoticeE7_1.add(new Instr(Prim.RSHP, new Ellipse2D.Double(2,13,4,4)));
726 }
727 public static final Symbol NoticeE8 = new Symbol();
728 static {
729 NoticeE8.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
730 NoticeE8.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Turn, 1.0, 0, 0, null, null)));
731 }
732 public static final Symbol NoticeE9a = new Symbol();
733 static {
734 NoticeE9a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
735 NoticeE9a.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
736 NoticeE9a.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-29)));
737 NoticeE9a.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
738 NoticeE9a.add(new Instr(Prim.LINE, new Line2D.Double(-29,0,29,0)));
739 }
740 public static final Symbol NoticeE9b = new Symbol();
741 static {
742 NoticeE9b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
743 NoticeE9b.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
744 NoticeE9b.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-29)));
745 NoticeE9b.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
746 NoticeE9b.add(new Instr(Prim.LINE, new Line2D.Double(-2,0,29,0)));
747 }
748 public static final Symbol NoticeE9c = new Symbol();
749 static {
750 NoticeE9c.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
751 NoticeE9c.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
752 NoticeE9c.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-29)));
753 NoticeE9c.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
754 NoticeE9c.add(new Instr(Prim.LINE, new Line2D.Double(2,0,-29,0)));
755 }
756 public static final Symbol NoticeE9d = new Symbol();
757 static {
758 NoticeE9d.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
759 NoticeE9d.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
760 NoticeE9d.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-4)));
761 NoticeE9d.add(new Instr(Prim.LINE, new Line2D.Double(-4,0,29,0)));
762 NoticeE9d.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
763 NoticeE9d.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,2)));
764 }
765 public static final Symbol NoticeE9e = new Symbol();
766 static {
767 NoticeE9e.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
768 NoticeE9e.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
769 NoticeE9e.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-4)));
770 NoticeE9e.add(new Instr(Prim.LINE, new Line2D.Double(4,0,-29,0)));
771 NoticeE9e.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
772 NoticeE9e.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,2)));
773 }
774 public static final Symbol NoticeE9f = new Symbol();
775 static {
776 NoticeE9f.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
777 NoticeE9f.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
778 NoticeE9f.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-4)));
779 NoticeE9f.add(new Instr(Prim.LINE, new Line2D.Double(-4,0,29,0)));
780 NoticeE9f.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
781 NoticeE9f.add(new Instr(Prim.LINE, new Line2D.Double(2,0,-29,0)));
782 }
783 public static final Symbol NoticeE9g = new Symbol();
784 static {
785 NoticeE9g.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
786 NoticeE9g.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
787 NoticeE9g.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-4)));
788 NoticeE9g.add(new Instr(Prim.LINE, new Line2D.Double(4,0,-29,0)));
789 NoticeE9g.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
790 NoticeE9g.add(new Instr(Prim.LINE, new Line2D.Double(-2,0,29,0)));
791 }
792 public static final Symbol NoticeE9h = new Symbol();
793 static {
794 NoticeE9h.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
795 NoticeE9h.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
796 NoticeE9h.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-4)));
797 NoticeE9h.add(new Instr(Prim.LINE, new Line2D.Double(-4,0,29,0)));
798 NoticeE9h.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
799 NoticeE9h.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,2)));
800 NoticeE9h.add(new Instr(Prim.LINE, new Line2D.Double(2,0,-29,0)));
801 }
802 public static final Symbol NoticeE9i = new Symbol();
803 static {
804 NoticeE9i.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
805 NoticeE9i.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
806 NoticeE9i.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-4)));
807 NoticeE9i.add(new Instr(Prim.LINE, new Line2D.Double(4,0,-29,0)));
808 NoticeE9i.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
809 NoticeE9i.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,2)));
810 NoticeE9i.add(new Instr(Prim.LINE, new Line2D.Double(-2,0,29,0)));
811 }
812 public static final Symbol NoticeE10a = new Symbol();
813 static {
814 NoticeE10a.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
815 NoticeE10a.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
816 NoticeE10a.add(new Instr(Prim.LINE, new Line2D.Double(-29,0,29,0)));
817 NoticeE10a.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
818 NoticeE10a.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-29)));
819 }
820 public static final Symbol NoticeE10b = new Symbol();
821 static {
822 NoticeE10b.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
823 NoticeE10b.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
824 NoticeE10b.add(new Instr(Prim.LINE, new Line2D.Double(-29,0,29,0)));
825 NoticeE10b.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
826 NoticeE10b.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-2)));
827 }
828 public static final Symbol NoticeE10c = new Symbol();
829 static {
830 NoticeE10c.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
831 NoticeE10c.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
832 NoticeE10c.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,4)));
833 NoticeE10c.add(new Instr(Prim.LINE, new Line2D.Double(-4,0,29,0)));
834 NoticeE10c.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
835 NoticeE10c.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-2)));
836 }
837 public static final Symbol NoticeE10d = new Symbol();
838 static {
839 NoticeE10d.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
840 NoticeE10d.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
841 NoticeE10d.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,4)));
842 NoticeE10d.add(new Instr(Prim.LINE, new Line2D.Double(4,0,-29,0)));
843 NoticeE10d.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
844 NoticeE10d.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-2)));
845 }
846 public static final Symbol NoticeE10e = new Symbol();
847 static {
848 NoticeE10e.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
849 NoticeE10e.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
850 NoticeE10e.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,4)));
851 NoticeE10e.add(new Instr(Prim.LINE, new Line2D.Double(-4,0,29,0)));
852 NoticeE10e.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
853 NoticeE10e.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-2)));
854 NoticeE10e.add(new Instr(Prim.LINE, new Line2D.Double(2,0,-29,0)));
855 }
856 public static final Symbol NoticeE10f = new Symbol();
857 static {
858 NoticeE10f.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
859 NoticeE10f.add(new Instr(Prim.STRK, new BasicStroke(8, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
860 NoticeE10f.add(new Instr(Prim.LINE, new Line2D.Double(0,-29,0,4)));
861 NoticeE10f.add(new Instr(Prim.LINE, new Line2D.Double(4,0,-29,0)));
862 NoticeE10f.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER)));
863 NoticeE10f.add(new Instr(Prim.LINE, new Line2D.Double(0,29,0,-2)));
864 NoticeE10f.add(new Instr(Prim.LINE, new Line2D.Double(-2,0,29,0)));
865 }
866 public static final Symbol NoticeE11 = new Symbol();
867 static {
868 NoticeE11.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
869 NoticeE11.add(new Instr(Prim.STRK, new BasicStroke(4, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)));
870 NoticeE11.add(new Instr(Prim.LINE, new Line2D.Double(-27,-27,27,27)));
871 }
872 public static final Symbol NoticeE13 = new Symbol();
873 static {
874 NoticeE13.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
875 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);
876 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);
877 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);
878 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);
879 p.lineTo(1.5,-7); p.lineTo(1.5,-14); p.lineTo(-4,-14); p.closePath();
880 NoticeE13.add(new Instr(Prim.PGON, p));
881 }
882 public static final Symbol NoticeE14 = new Symbol();
883 static {
884 NoticeE14.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
885 Path2D.Double p = new Path2D.Double(); p.moveTo(-18,-18); p.lineTo(-11,-7); p.lineTo(-9,-10); p.lineTo(-14,-18); p.closePath();
886 p.moveTo(9.5,7); p.lineTo(22.5,9); p.lineTo(21.5,5.5); p.lineTo(12,4); p.closePath();
887 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);
888 p.curveTo(15.5,23,1,18.5,-9,12); p.curveTo(-18,6,-28.5,-7,-19,-16.5); p.closePath();
889 NoticeE14.add(new Instr(Prim.PGON, p));
890 }
891 public static final Symbol NoticeE15 = new Symbol();
892 static {
893 NoticeE15.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
894 NoticeE15.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Motor, 1.0, 0, 0, null, null)));
895 }
896 public static final Symbol NoticeE16 = new Symbol();
897 static {
898 NoticeE16.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
899 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)))));
900 }
901 public static final Symbol NoticeE17 = new Symbol();
902 static {
903 NoticeE17.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
904 NoticeE17.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Waterski, 1.0, 0, 0, null, null)));
905 }
906 public static final Symbol NoticeE18 = new Symbol();
907 static {
908 NoticeE18.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
909 NoticeE18.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Sailboat, 1.0, 0, 0, null, null)));
910 }
911 public static final Symbol NoticeE19 = new Symbol();
912 static {
913 NoticeE19.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
914 NoticeE19.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Rowboat, 1.0, 0, 0, null, null)));
915 }
916 public static final Symbol NoticeE20 = new Symbol();
917 static {
918 NoticeE20.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
919 NoticeE20.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Sailboard, 1.0, 0, 0, null, null)));
920 }
921 public static final Symbol NoticeE21 = new Symbol();
922 static {
923 NoticeE21.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
924 NoticeE21.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Speedboat, 1.0, 0, 0, null, null)));
925 }
926 public static final Symbol NoticeE22 = new Symbol();
927 static {
928 NoticeE22.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
929 NoticeE22.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Slipway, 1.0, 0, 0, null, null)));
930 }
931 public static final Symbol NoticeE23 = new Symbol();
932 static {
933 NoticeE23.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
934 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)))));
935 }
936 public static final Symbol NoticeE24 = new Symbol();
937 static {
938 NoticeE24.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.NoticeE, 1.0, 0, 0, null, null)));
939 NoticeE24.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Notices.Waterbike, 1.0, 0, 0, null, null)));
940 }
941
942 public static final EnumMap<CatNMK, Symbol> NmkCevni = new EnumMap<CatNMK, Symbol>(CatNMK.class);
943 static {
944 NmkCevni.put(CatNMK.NMK_UNKN, Notice); NmkCevni.put(CatNMK.NMK_NENT, NoticeA1); NmkCevni.put(CatNMK.NMK_CLSA, NoticeA1a); NmkCevni.put(CatNMK.NMK_NOVK, NoticeA2);
945 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);
946 NmkCevni.put(CatNMK.NMK_NANK, NoticeA6); NmkCevni.put(CatNMK.NMK_NMOR, NoticeA7); NmkCevni.put(CatNMK.NMK_NTRN, NoticeA8); NmkCevni.put(CatNMK.NMK_NWSH, NoticeA9);
947 NmkCevni.put(CatNMK.NMK_NPSL, NoticeA10a); NmkCevni.put(CatNMK.NMK_NPSR, NoticeA10b); NmkCevni.put(CatNMK.NMK_NMTC, NoticeA12); NmkCevni.put(CatNMK.NMK_NSPC, NoticeA13);
948 NmkCevni.put(CatNMK.NMK_NWSK, NoticeA14); NmkCevni.put(CatNMK.NMK_NSLC, NoticeA15); NmkCevni.put(CatNMK.NMK_NUPC, NoticeA16); NmkCevni.put(CatNMK.NMK_NSLB, NoticeA17);
949 NmkCevni.put(CatNMK.NMK_NWBK, NoticeA20); NmkCevni.put(CatNMK.NMK_NHSC, NoticeA18); NmkCevni.put(CatNMK.NMK_NLBG, NoticeA19);
950 NmkCevni.put(CatNMK.NMK_MVTL, NoticeB1a); NmkCevni.put(CatNMK.NMK_MVTR, NoticeB1b); NmkCevni.put(CatNMK.NMK_MVTP, NoticeB2a); NmkCevni.put(CatNMK.NMK_MVTS, NoticeB2b);
951 NmkCevni.put(CatNMK.NMK_KPTP, NoticeB3a); NmkCevni.put(CatNMK.NMK_KPTS, NoticeB3b); NmkCevni.put(CatNMK.NMK_CSTP, NoticeB4a); NmkCevni.put(CatNMK.NMK_CSTS, NoticeB4b);
952 NmkCevni.put(CatNMK.NMK_STOP, NoticeB5); NmkCevni.put(CatNMK.NMK_SPDL, NoticeB6); NmkCevni.put(CatNMK.NMK_SHRN, NoticeB7); NmkCevni.put(CatNMK.NMK_KPLO, NoticeB8);
953 NmkCevni.put(CatNMK.NMK_GWJN, NoticeB9a); NmkCevni.put(CatNMK.NMK_GWCS, NoticeB9b); NmkCevni.put(CatNMK.NMK_MKRC, NoticeB11);
954 NmkCevni.put(CatNMK.NMK_LMDP, NoticeC1); NmkCevni.put(CatNMK.NMK_LMHR, NoticeC2); NmkCevni.put(CatNMK.NMK_LMWD, NoticeC3); NmkCevni.put(CatNMK.NMK_NAVR, NoticeC4);
955 NmkCevni.put(CatNMK.NMK_CHDL, NoticeC5a); NmkCevni.put(CatNMK.NMK_CHDR, NoticeC5b);
956 NmkCevni.put(CatNMK.NMK_CHTW, NoticeD1a); NmkCevni.put(CatNMK.NMK_CHOW, NoticeD1b); NmkCevni.put(CatNMK.NMK_OPTR, NoticeD2a); NmkCevni.put(CatNMK.NMK_OPTL, NoticeD2b);
957 NmkCevni.put(CatNMK.NMK_PRTL, NoticeD3a); NmkCevni.put(CatNMK.NMK_PRTR, NoticeD3b);
958 NmkCevni.put(CatNMK.NMK_ENTP, NoticeE1); NmkCevni.put(CatNMK.NMK_OVHC, NoticeE2); NmkCevni.put(CatNMK.NMK_WEIR, NoticeE3); NmkCevni.put(CatNMK.NMK_FERN, NoticeE4a);
959 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);
960 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);
961 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);
962 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);
963 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);
964 NmkCevni.put(CatNMK.NMK_TRNA, NoticeE8); NmkCevni.put(CatNMK.NMK_SWWC, NoticeE9a); NmkCevni.put(CatNMK.NMK_SWWR, NoticeE9b); NmkCevni.put(CatNMK.NMK_SWWL, NoticeE9c);
965 NmkCevni.put(CatNMK.NMK_WRSA, NoticeE9d); NmkCevni.put(CatNMK.NMK_WLSA, NoticeE9e); NmkCevni.put(CatNMK.NMK_WRSL, NoticeE9f); NmkCevni.put(CatNMK.NMK_WLSR, NoticeE9g);
966 NmkCevni.put(CatNMK.NMK_WRAL, NoticeE9h); NmkCevni.put(CatNMK.NMK_WLAR, NoticeE9i); NmkCevni.put(CatNMK.NMK_MWWC, NoticeE10a); NmkCevni.put(CatNMK.NMK_MWWJ, NoticeE10b);
967 NmkCevni.put(CatNMK.NMK_MWAR, NoticeE10c); NmkCevni.put(CatNMK.NMK_MWAL, NoticeE10d); NmkCevni.put(CatNMK.NMK_WARL, NoticeE10e); NmkCevni.put(CatNMK.NMK_WALR, NoticeE10f);
968 NmkCevni.put(CatNMK.NMK_PEND, NoticeE11); NmkCevni.put(CatNMK.NMK_DWTR, NoticeE13); NmkCevni.put(CatNMK.NMK_TELE, NoticeE14); NmkCevni.put(CatNMK.NMK_MTCP, NoticeE15);
969 NmkCevni.put(CatNMK.NMK_SPCP, NoticeE16); NmkCevni.put(CatNMK.NMK_WSKP, NoticeE17); NmkCevni.put(CatNMK.NMK_SLCP, NoticeE18); NmkCevni.put(CatNMK.NMK_UPCP, NoticeE19);
970 NmkCevni.put(CatNMK.NMK_SLBP, NoticeE20); NmkCevni.put(CatNMK.NMK_RADI, NoticeE23); NmkCevni.put(CatNMK.NMK_WTBP, NoticeE24); NmkCevni.put(CatNMK.NMK_HSCP, NoticeE21);
971 NmkCevni.put(CatNMK.NMK_LBGP, NoticeE22);
972 };
973
974 public static final Symbol NoticeBnank = new Symbol();
975 static {
976 NoticeBnank.add(new Instr(Prim.BBOX, new Rectangle(-30,-30,60,60)));
977 Symbol colours = new Symbol();
978 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();
979 colours.add(new Instr(Prim.P1, p));
980 p = new Path2D.Double(); p.moveTo(0.0,-10.0); p.lineTo(-15.0,-43.0); p.lineTo(15.0,-43.0); p.closePath();
981 colours.add(new Instr(Prim.P2, p));
982 NoticeBnank.add(new Instr(Prim.COLR, colours));
983 }
984 public static final Symbol NoticeBlmhr = new Symbol();
985 public static final Symbol NoticeBwral = new Symbol();
986 public static final Symbol NoticeBwrar = new Symbol();
987 public static final Symbol NoticeBktpm = new Symbol();
988 public static final Symbol NoticeBktsm = new Symbol();
989 public static final Symbol NoticeBktmr = new Symbol();
990 public static final Symbol NoticeBcrtp = new Symbol();
991 public static final Symbol NoticeBcrts = new Symbol();
992 public static final Symbol NoticeBtrbm = new Symbol();
993 public static final Symbol NoticeBrspd = new Symbol();
994 public static final EnumMap<CatNMK, Symbol> NmkBniwr = new EnumMap<CatNMK, Symbol>(CatNMK.class);
995 static {
996 NmkBniwr.put(CatNMK.NMK_NANK, NoticeBnank); NmkBniwr.put(CatNMK.NMK_LMHR, NoticeBlmhr); NmkBniwr.put(CatNMK.NMK_OPTR, NoticeD2a); NmkBniwr.put(CatNMK.NMK_OPTL, NoticeD2b);
997 NmkBniwr.put(CatNMK.NMK_WRAL, NoticeBwral); NmkBniwr.put(CatNMK.NMK_WLAR, NoticeBwrar); NmkBniwr.put(CatNMK.NMK_KTPM, NoticeBktpm); NmkBniwr.put(CatNMK.NMK_KTSM, NoticeBktsm);
998 NmkBniwr.put(CatNMK.NMK_KTMR, NoticeBktmr); NmkBniwr.put(CatNMK.NMK_CRTP, NoticeBcrtp); NmkBniwr.put(CatNMK.NMK_CRTS, NoticeBcrts); NmkBniwr.put(CatNMK.NMK_TRBM, NoticeBtrbm);
999 NmkBniwr.put(CatNMK.NMK_RSPD, NoticeBrspd);
1000 }
1001
1002 public static final EnumMap<CatNMK, Symbol> NmkPpwbc = new EnumMap<CatNMK, Symbol>(CatNMK.class);
1003 static {
1004 NmkPpwbc.put(CatNMK.NMK_WRAL, Notice); NmkPpwbc.put(CatNMK.NMK_WLAR, Notice); NmkPpwbc.put(CatNMK.NMK_KTPM, Notice); NmkPpwbc.put(CatNMK.NMK_KTSM, Notice);
1005 NmkPpwbc.put(CatNMK.NMK_KTMR, Notice); NmkPpwbc.put(CatNMK.NMK_CRTP, Notice); NmkPpwbc.put(CatNMK.NMK_CRTS, Notice);
1006 }
1007
1008 public static Scheme getScheme(MarSYS sys, BnkWTW bank) {
1009 ArrayList<Color> colours = new ArrayList<Color>();
1010 Scheme scheme = new Scheme(null, colours);
1011 switch (sys) {
1012 case SYS_BNWR:
1013 switch (bank) {
1014 case BWW_LEFT:
1015 colours.add(Color.white);
1016 colours.add(new Color(0xf00000));
1017 break;
1018 case BWW_RGHT:
1019 colours.add(Color.white);
1020 colours.add(new Color(0x00a000));
1021 break;
1022 default:
1023 colours.add(new Color(0xff8040));
1024 colours.add(Color.black);
1025 break;
1026 }
1027 break;
1028 case SYS_PPWB:
1029 switch (bank) {
1030 case BWW_LEFT:
1031 colours.add(Color.white);
1032 colours.add(new Color(0xd40000));
1033 break;
1034 case BWW_RGHT:
1035 colours.add(Color.white);
1036 colours.add(new Color(0x00d400));
1037 break;
1038 default:
1039 break;
1040 }
1041 break;
1042 }
1043 return scheme;
1044 }
1045
1046 public static Symbol getNotice(CatNMK cat, MarSYS sys) {
1047 Symbol symbol = null;
1048 switch (sys) {
1049 case SYS_CEVN:
1050 symbol = NmkCevni.get(cat);
1051 break;
1052 case SYS_BNWR:
1053 symbol = NmkBniwr.get(cat);
1054 break;
1055 case SYS_PPWB:
1056 symbol = NmkPpwbc.get(cat);
1057 break;
1058 }
1059 return symbol;
1060 }
1061}
Note: See TracBrowser for help on using the repository browser.