| Constructor and Description |
|---|
Shape() |
| Modifier and Type | Method and Description |
|---|---|
void |
render(Graphics2D g,
GraphMetrics metrics)
Same as calling
renderStroke(Graphics2D,GraphMetrics) and
renderFill(Graphics2D,GraphMetrics) at once. |
abstract void |
renderFill(Graphics2D g,
GraphMetrics metrics)
Render the filled part of the shape.
|
abstract void |
renderStroke(Graphics2D g,
GraphMetrics metrics)
Render the stroke of the shape.
|
public void render(Graphics2D g, GraphMetrics metrics)
renderStroke(Graphics2D,GraphMetrics) and
renderFill(Graphics2D,GraphMetrics) at once.g - The Swing graphics.public abstract void renderStroke(Graphics2D g, GraphMetrics metrics)
g - The Swing graphics.public abstract void renderFill(Graphics2D g, GraphMetrics metrics)
g - The Swing graphics.Copyright © 2015. All rights reserved.