public class CircleDrawer
extends java.lang.Object
implements org.jfree.ui.Drawable
Drawable interface, to illustrate the use of the
org.jfree.chart.annotations.XYDrawableAnnotation class.| Constructor and Description |
|---|
CircleDrawer(java.awt.Paint outlinePaint,
java.awt.Stroke outlineStroke,
java.awt.Paint fillPaint)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area)
Draws the circle.
|