Class Strokable
java.lang.Object
org.graphstream.ui.swing.renderer.shape.swing.shapePart.Strokable
- Direct Known Subclasses:
StrokableLine
public class Strokable
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description java.awt.Color
strokeColor
The stroke color.ShapeStroke
theStroke
The stroke.double
theStrokeWidth
The stroke width. -
Constructor Summary
Constructors Constructor Description Strokable()
-
Method Summary
Modifier and Type Method 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.
-
Field Details
-
strokeColor
public java.awt.Color strokeColorThe stroke color. -
theStroke
The stroke. -
theStrokeWidth
public double theStrokeWidthThe stroke width.
-
-
Constructor Details
-
Strokable
public Strokable()
-
-
Method Details
-
stroke
public void stroke(java.awt.Graphics2D g, java.awt.Shape shape)Paint the stroke of the shape. -
configureStrokableForGroup
public 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.
-