Class Fillable

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

public class Fillable
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Fillable()  
  • 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​(java.awt.Graphics2D g, double dynColor, java.awt.Color optColor, java.awt.Shape shape, org.graphstream.ui.view.camera.DefaultCamera2D camera)
    Fill the shape.
    void fill​(java.awt.Graphics2D g, java.awt.Shape shape, org.graphstream.ui.view.camera.DefaultCamera2D camera)
    Fill the shape.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • fill

      public void fill​(java.awt.Graphics2D g, double dynColor, java.awt.Color optColor, java.awt.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​(java.awt.Graphics2D g, java.awt.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.