Source code: com/port80/graph/IGraphStroke.java
1 //
2 // Copyright(c) 2002, Chris Leung
3 //
4
5 package com.port80.graph;
6
7 import java.awt.Stroke;
8
9 /** Graph stroke interface.
10 *
11 * . A wrapper of a java.awt.Stroke.
12 */
13 public interface IGraphStroke extends Cloneable {
14
15 ////////////////////////////////////////////////////////////////////////
16
17 public String getName();
18 public Stroke getStroke();
19 public float getLineWidth();
20 //
21 public void setStroke(Stroke stroke);
22 public void setLineWidth(float width);
23 //
24 public Object clone();
25
26 ////////////////////////////////////////////////////////////////////////
27
28 }
29