analyzer.plot
Class PlotStroke
java.lang.Object
|
+--java.awt.BasicStroke
|
+--analyzer.plot.PlotStroke
- public class PlotStroke
- extends java.awt.BasicStroke
Stroke with simpler constructor for plotting applicaitons.
Several dashed styles are supported.
- 0 = solid
- 1 = dashed
- 2 = dotted
- 3 = dot-dashed
Field Summary |
protected static float[][] |
dashArray
|
Fields inherited from class java.awt.BasicStroke |
CAP_BUTT,
CAP_ROUND,
CAP_SQUARE,
JOIN_BEVEL,
JOIN_MITER,
JOIN_ROUND |
Constructor Summary |
PlotStroke(float width)
Construct a solid line stroke style with a given width. |
PlotStroke(float width,
int dash)
Construct a stroke style with a given width and dash style |
Method Summary |
protected static float[] |
getDashArray(float width,
int dash)
Return a copy of dashArray[dash] scaled by width. |
Methods inherited from class java.awt.BasicStroke |
createStrokedShape,
equals,
getDashArray,
getDashPhase,
getEndCap,
getLineJoin,
getLineWidth,
getMiterLimit,
hashCode |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
dashArray
protected static final float[][] dashArray
PlotStroke
public PlotStroke(float width,
int dash)
- Construct a stroke style with a given width and dash style
PlotStroke
public PlotStroke(float width)
- Construct a solid line stroke style with a given width.
getDashArray
protected static float[] getDashArray(float width,
int dash)
- Return a copy of dashArray[dash] scaled by width.
Email questions and comments to
shumway@uiuc.edu or nzhong@ncsa.uiuc.edu