1 | /* |
---|
2 | * $Id: StrokeDrawer.java,v 1.3 2001/12/11 23:50:10 dwd Exp $ |
---|
3 | * |
---|
4 | * This software is provided by NOAA for full, free and open release. It is |
---|
5 | * understood by the recipient/user that NOAA assumes no liability for any |
---|
6 | * errors contained in the code. Although this software is released without |
---|
7 | * conditions or restrictions in its use, it is expected that appropriate |
---|
8 | * credit be given to its author and to the National Oceanic and Atmospheric |
---|
9 | * Administration should the software be included by the recipient as an |
---|
10 | * element in other product development. |
---|
11 | */ |
---|
12 | |
---|
13 | package gov.noaa.pmel.sgt; |
---|
14 | |
---|
15 | import java.awt.*; |
---|
16 | |
---|
17 | |
---|
18 | /** |
---|
19 | * Defines the methods that implement stroke drawing in sgt. This |
---|
20 | * interface is necessary since sgt v2.0 will use Java2D functionality |
---|
21 | * to draw strokes if it is available. |
---|
22 | * |
---|
23 | * @author Donald Denbo |
---|
24 | * @version $Revision: 1.3 $, $Date: 2001/12/11 23:50:10 $ |
---|
25 | * @since 2.1 |
---|
26 | */ |
---|
27 | public interface StrokeDrawer { |
---|
28 | |
---|
29 | public void drawHeavy(Graphics g, int[] xout, int[] yout, int size, |
---|
30 | LineAttribute attr); |
---|
31 | |
---|
32 | public void drawDashed(Graphics g, int[] xout, int[] yout, int size, |
---|
33 | LineAttribute attr); |
---|
34 | |
---|
35 | public void drawStroke(Graphics g, int[] xout, int[] yout, int size, |
---|
36 | LineAttribute attr); |
---|
37 | |
---|
38 | public void drawHighlight(Graphics g, int[] xout, int[] yout, int size, |
---|
39 | LineAttribute attr); |
---|
40 | } |
---|
41 | |
---|
42 | |
---|
43 | |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | |
---|
49 | |
---|
50 | |
---|
51 | |
---|