java.lang.Object
org.graphstream.ui.swing.renderer.shape.swing.shapePart.Fillable

public class Fillable extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configureFillableForElement(org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicElement element)
    Configure the dynamic parts needed to fill the shape.
    void
    configureFillableForGroup(Backend bck, org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera)
    Configure all static parts needed to fill the shape.
    void
    fill(Graphics2D g, double dynColor, Color optColor, Shape shape, org.graphstream.ui.view.camera.DefaultCamera2D camera)
    Fill the shape.
    void
    fill(Graphics2D g, Shape shape, org.graphstream.ui.view.camera.DefaultCamera2D camera)
    Fill the shape.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Fillable

      public Fillable()
  • Method Details

    • fill

      public void fill(Graphics2D g, double dynColor, Color optColor, Shape shape, org.graphstream.ui.view.camera.DefaultCamera2D camera)
      Fill the shape.
      Parameters:
      g - The Java2D graphics.
      dynColor - The value between 0 and 1 allowing to know the dynamic plain color, if any.
      shape - The awt shape to fill.
    • fill

      public void fill(Graphics2D g, Shape shape, org.graphstream.ui.view.camera.DefaultCamera2D camera)
      Fill the shape.
      Parameters:
      g - The Java2D graphics.
      shape - The awt shape to fill.
    • configureFillableForGroup

      public void configureFillableForGroup(Backend bck, org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera)
      Configure all static parts needed to fill the shape.
    • configureFillableForElement

      public void configureFillableForElement(org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicElement element)
      Configure the dynamic parts needed to fill the shape.