public abstract class PolygonalShape extends AreaShape
| Modifier and Type | Field and Description |
|---|---|
ConnectorSkeleton |
skel
We will use it often, better store it.
|
area, fillable, shadowable, strokable| Constructor and Description |
|---|
PolygonalShape() |
| Modifier and Type | Method and Description |
|---|---|
void |
render(Backend bck,
org.graphstream.ui.view.camera.DefaultCamera2D camera,
org.graphstream.ui.graphicGraph.GraphicElement element,
Skeleton skel)
Render the shape for the given element.
|
void |
renderShadow(Backend bck,
org.graphstream.ui.view.camera.DefaultCamera2D camera,
org.graphstream.ui.graphicGraph.GraphicElement element,
Skeleton skel)
Render the shape shadow for the given element.
|
java.awt.geom.Path2D.Double |
theShape() |
configureForElement, configureForGroupconfigureDecorableForElement, configureDecorableForGroup, decorArea, decorConnectorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmake, makeShadowpublic ConnectorSkeleton skel
public void renderShadow(Backend bck, org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicElement element, Skeleton skel)
Shapepublic void render(Backend bck, org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicElement element, Skeleton skel)
Shapecamera - The view parameters.element - The element to render.skel - The element geometry and information.public java.awt.geom.Path2D.Double theShape()