java.lang.Object
org.graphstream.ui.swing.renderer.shape.swing.shapePart.Strokable
Direct Known Subclasses:
StrokableLine

public class Strokable extends Object
  • Field Details

    • strokeColor

      public Color strokeColor
      The stroke color.
    • theStroke

      public ShapeStroke theStroke
      The stroke.
    • theStrokeWidth

      public double theStrokeWidth
      The stroke width.
  • Constructor Details

    • Strokable

      public Strokable()
  • Method Details

    • stroke

      public void stroke(Graphics2D g, 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.