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.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • 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.