public class StrokeFactory extends Object
Constructor and Description |
---|
StrokeFactory() |
Modifier and Type | Method and Description |
---|---|
static Stroke |
generateStroke(Style style,
GraphMetrics metrics)
Generate a stroke of the appropriate width and style according to the
given style and metrics.
|
public static Stroke generateStroke(Style style, GraphMetrics metrics)
style
- The style to use.metrics
- The metrics to use.Copyright © 2015. All rights reserved.