|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.rit.numeric.plot.Strokes
public class Strokes
Class Strokes provides operations for creating several common patterns of drawing strokes.
| Method Summary | |
|---|---|
static BasicStroke |
dashed(double theWidth)
Returns a dashed stroke of the given width with square dashes. |
static BasicStroke |
dashed(double theWidth,
double d,
double g)
Returns a dashed stroke of the given width with square dashes. |
static BasicStroke |
dotted(double theWidth)
Returns a dotted stroke of the given width with square dots. |
static BasicStroke |
roundDashed(double theWidth)
Returns a dashed stroke of the given width with rounded dashes. |
static BasicStroke |
roundDashed(double theWidth,
double d,
double g)
Returns a dashed stroke of the given width with rounded dashes. |
static BasicStroke |
roundDotted(double theWidth)
Returns a dotted stroke of the given width with round dots. |
static BasicStroke |
roundSolid(double theWidth)
Returns a solid stroke of the given width with round corners and ends. |
static BasicStroke |
solid(double theWidth)
Returns a solid stroke of the given width with square corners and ends. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BasicStroke solid(double theWidth)
theWidth - Stroke width.public static BasicStroke dotted(double theWidth)
theWidth - Stroke width.public static BasicStroke dashed(double theWidth)
theWidth - Stroke width.
public static BasicStroke dashed(double theWidth,
double d,
double g)
theWidth - Stroke width.d - Dash length in terms of stroke width.g - Gap length in terms of stroke width.public static BasicStroke roundSolid(double theWidth)
theWidth - Stroke width.public static BasicStroke roundDotted(double theWidth)
theWidth - Stroke width.public static BasicStroke roundDashed(double theWidth)
theWidth - Stroke width in points.
public static BasicStroke roundDashed(double theWidth,
double d,
double g)
theWidth - Stroke width in points.d - Dash length in terms of stroke width.g - Gap length in terms of stroke width.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||