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 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.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses