Class Fillable

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

public class Fillable
extends 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​(javafx.scene.canvas.GraphicsContext g, double dynColor, javafx.scene.paint.Color optColor, Form shape, org.graphstream.ui.view.camera.DefaultCamera2D camera)
    Fill the shape.
    void fill​(javafx.scene.canvas.GraphicsContext g, Form 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​(javafx.scene.canvas.GraphicsContext g, double dynColor, javafx.scene.paint.Color optColor, Form 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 shape to fill.
    • fill

      public void fill​(javafx.scene.canvas.GraphicsContext g, Form shape, org.graphstream.ui.view.camera.DefaultCamera2D camera)
      Fill the shape.
      Parameters:
      g - The Java2D graphics.
      shape - The 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.