Package tech.molecules.leet.table.chart
Class CircleDrawer
- java.lang.Object
-
- tech.molecules.leet.table.chart.CircleDrawer
-
- All Implemented Interfaces:
org.jfree.chart.ui.Drawable
public class CircleDrawer extends Object implements org.jfree.chart.ui.Drawable
An implementation of theDrawableinterface, to illustrate the use of theXYDrawableAnnotationclass. Used by MarkerDemo1.java.
-
-
Constructor Summary
Constructors Constructor Description CircleDrawer(Paint outlinePaint, Stroke outlineStroke, Paint fillPaint)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddraw(Graphics2D g2, Rectangle2D area)Draws the circle.
-
-
-
Method Detail
-
draw
public void draw(Graphics2D g2, Rectangle2D area)
Draws the circle.- Specified by:
drawin interfaceorg.jfree.chart.ui.Drawable- Parameters:
g2- the graphics device.area- the area in which to draw.
-
-