Class Strokable
java.lang.Object
org.graphstream.ui.javafx.renderer.shape.javafx.shapePart.Strokable
- Direct Known Subclasses:
StrokableLine
public class Strokable extends Object
-
Field Summary
Fields Modifier and Type Field Description javafx.scene.paint.Color
fillColor
javafx.scene.paint.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(javafx.scene.canvas.GraphicsContext g, Form shape)
Paint the stroke of the shape.
-
Field Details
-
strokeColor
public javafx.scene.paint.Color strokeColorThe stroke color. -
fillColor
public javafx.scene.paint.Color fillColor -
theStroke
The stroke. -
theStrokeWidth
public double theStrokeWidthThe stroke width.
-
-
Constructor Details
-
Strokable
public Strokable()
-
-
Method Details
-
stroke
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.
-