Package | Description |
---|---|
org.graphstream.ui.swingViewer.basicRenderer.shapes | |
org.graphstream.ui.swingViewer.util | |
org.graphstream.ui.view |
Modifier and Type | Method and Description |
---|---|
void |
Shape.render(Graphics2D g,
GraphMetrics metrics)
Same as calling
Shape.renderStroke(Graphics2D,GraphMetrics) and
Shape.renderFill(Graphics2D,GraphMetrics) at once. |
void |
Arrow.renderFill(Graphics2D g,
GraphMetrics metrics) |
abstract void |
Shape.renderFill(Graphics2D g,
GraphMetrics metrics)
Render the filled part of the shape.
|
void |
Arrow.renderStroke(Graphics2D g,
GraphMetrics metrics) |
abstract void |
Shape.renderStroke(Graphics2D g,
GraphMetrics metrics)
Render the stroke of the shape.
|
Modifier and Type | Method and Description |
---|---|
GraphMetrics |
DefaultCamera.getMetrics() |
Modifier and Type | Method and Description |
---|---|
static Stroke |
StrokeFactory.generateStroke(Style style,
GraphMetrics metrics)
Generate a stroke of the appropriate width and style according to the
given style and metrics.
|
Modifier and Type | Method and Description |
---|---|
GraphMetrics |
Camera.getMetrics()
Get the
GraphMetrics object linked to this Camera. |
Copyright © 2015. All rights reserved.