public class Arrow extends Shape
Constructor and Description |
---|
Arrow() |
Modifier and Type | Method and Description |
---|---|
void |
renderFill(Graphics2D g,
GraphMetrics metrics)
Render the filled part of the shape.
|
void |
renderStroke(Graphics2D g,
GraphMetrics metrics)
Render the stroke of the shape.
|
void |
setArrowLengthGu(int lengthGu) |
void |
setArrowWidthGu(int widthGu) |
void |
setFillColor(Color color) |
void |
setStrokeColor(Color color) |
public void setArrowLengthGu(int lengthGu)
public void setArrowWidthGu(int widthGu)
public void setFillColor(Color color)
public void setStrokeColor(Color color)
public void renderFill(Graphics2D g, GraphMetrics metrics)
Shape
renderFill
in class Shape
g
- The Swing graphics.public void renderStroke(Graphics2D g, GraphMetrics metrics)
Shape
renderStroke
in class Shape
g
- The Swing graphics.Copyright © 2015. All rights reserved.