public class Strokable
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.awt.Color |
strokeColor
The stroke color.
|
ShapeStroke |
theStroke
The stroke.
|
double |
theStrokeWidth
The stroke width.
|
| Constructor and Description |
|---|
Strokable() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureStrokableForGroup(org.graphstream.ui.graphicGraph.stylesheet.Style style,
org.graphstream.ui.view.camera.DefaultCamera2D camera)
Configure all the static parts needed to stroke the shape.
|
void |
stroke(java.awt.Graphics2D g,
java.awt.Shape shape)
Paint the stroke of the shape.
|
public java.awt.Color strokeColor
public ShapeStroke theStroke
public double theStrokeWidth
public void stroke(java.awt.Graphics2D g,
java.awt.Shape shape)
public void configureStrokableForGroup(org.graphstream.ui.graphicGraph.stylesheet.Style style,
org.graphstream.ui.view.camera.DefaultCamera2D camera)