public class Shape
extends java.lang.Object
| Constructor and Description |
|---|
Shape(java.awt.Shape shape,
java.awt.Color fillColour,
java.awt.Color penColour,
int penWidth)
fillColour is null if the shape cannot be filled (an unclosed curve).
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(java.awt.Graphics2D g2) |