Class AreaShape
java.lang.Object
org.graphstream.ui.swing.renderer.shape.Decorable
org.graphstream.ui.swing.renderer.shape.swing.baseShapes.AreaShape
- All Implemented Interfaces:
Shape
- Direct Known Subclasses:
PolygonalShape
,RectangularAreaShape
public abstract class AreaShape extends Decorable implements Shape
-
Field Summary
Fields Modifier and Type Field Description Area
area
Fillable
fillable
Shadowable
shadowable
ConnectorSkeleton
skel
We will use it often, better store it.Strokable
strokable
-
Constructor Summary
Constructors Constructor Description AreaShape()
-
Method Summary
Modifier and Type Method Description void
configureForElement(Backend bck, org.graphstream.ui.graphicGraph.GraphicElement element, Skeleton skel, org.graphstream.ui.view.camera.DefaultCamera2D camera)
Configure all the dynamic and per element settings.void
configureForGroup(Backend bck, org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera)
Configure as much as possible the graphics before painting several version of this shape at different positions.Methods inherited from class org.graphstream.ui.swing.renderer.shape.Decorable
configureDecorableForElement, configureDecorableForGroup, decorArea, decorConnector
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graphstream.ui.swing.renderer.shape.Shape
make, makeShadow, render, renderShadow
-
Field Details
-
fillable
-
strokable
-
shadowable
-
area
-
skel
We will use it often, better store it.
-
-
Constructor Details
-
AreaShape
public AreaShape()
-
-
Method Details
-
configureForGroup
public void configureForGroup(Backend bck, org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera)Description copied from interface:Shape
Configure as much as possible the graphics before painting several version of this shape at different positions.- Specified by:
configureForGroup
in interfaceShape
- Parameters:
bck
- The rendering back-end.style
- The style for the group.camera
- the view parameters.
-
configureForElement
public void configureForElement(Backend bck, org.graphstream.ui.graphicGraph.GraphicElement element, Skeleton skel, org.graphstream.ui.view.camera.DefaultCamera2D camera)Description copied from interface:Shape
Configure all the dynamic and per element settings. Some configurations can only be done before painting the element, since they change for each element.- Specified by:
configureForElement
in interfaceShape
- Parameters:
bck
- The rendering back-end.element
- The specific element to render.skel
- The element geometry and information.camera
- the view parameters.
-