Class Fillable
java.lang.Object
org.graphstream.ui.swing.renderer.shape.swing.shapePart.Fillable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureFillableForElement(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.voidconfigureFillableForGroup(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.voidfill(Graphics2D g, double dynColor, Color optColor, Shape shape, org.graphstream.ui.view.camera.DefaultCamera2D camera) Fill the shape.voidfill(Graphics2D g, Shape shape, org.graphstream.ui.view.camera.DefaultCamera2D camera) Fill the shape.
-
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
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.
-