public class GuiNWSMultiLine
extends java.lang.Object
The first two bytes are space and '}'. The next byte is a code for the type of data to plot:
| letter | color | line type | meaning |
|---|---|---|---|
| a | red | solid | tornado warning |
| b | red | dashed | tornado watch |
| c | red | double-dashed | |
| d | yellow | solid | severe thunderstorm warning |
| e | yellow | dashed | severe thunderstorm watch |
| f | yellow | double-dashed | |
| g | blue | solid | test warning |
| h | blue | dashed | test watch |
| i | blue | double-dashed | |
| j | green | solid | |
| k | green | dashed | mesoscale discussion area |
| l | green | double-dashed | |
| m | orange | wide solid | Aloha circle for YAAC |
| n | orange | wide dashed | incomplete Aloha circle for YAAC |
The next byte indicates the type of figure:
| character | meaning |
|---|---|
| 0 | closed polygon |
| 1 | line segment |
For more information, see https://www.aprs-is.net/WX/MultilineProtocol.aspx.
Note that NWSMultiLine does not work for polygons and polylines spanning the International Date Line.
NWSMultiLine| Modifier and Type | Method and Description |
|---|---|
static java.awt.Color |
getColor(NWSMultiLine nws)
Get the Color for rendering the specified NWSMultiline.
|
static java.awt.Stroke |
getStroke(NWSMultiLine nws)
Get the Stroke for rendering the specified NWSMultiline.
|
public static java.awt.Color getColor(NWSMultiLine nws)
nws - NWSMultilinepublic static java.awt.Stroke getStroke(NWSMultiLine nws)
nws - NWSMultiline