public class Fillable
extends java.lang.Object
| Constructor and Description |
|---|
Fillable() |
| Modifier and Type | Method and 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.
|
public void fill(java.awt.Graphics2D g,
double dynColor,
java.awt.Color optColor,
java.awt.Shape shape,
org.graphstream.ui.view.camera.DefaultCamera2D camera)
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.public void fill(java.awt.Graphics2D g,
java.awt.Shape shape,
org.graphstream.ui.view.camera.DefaultCamera2D camera)
g - The Java2D graphics.shape - The awt shape to fill.public void configureFillableForGroup(Backend bck, org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera)
public void configureFillableForElement(org.graphstream.ui.graphicGraph.stylesheet.Style style,
org.graphstream.ui.view.camera.DefaultCamera2D camera,
org.graphstream.ui.graphicGraph.GraphicElement element)