public static class PiePlot.PiePlotArea2D extends PlotArea
PiePlot
.Constructor and Description |
---|
PiePlot.PiePlotArea2D(PiePlot plot)
Constructor that creates a new instance and initializes it with a
plot acting as data provider.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(DrawingContext context)
Draws the
Drawable with the specified drawing context. |
protected void |
drawPlot(DrawingContext context)
Draws the data using the specified drawing context.
|
drawBackground, drawBorder, getBackground, getBorderColor, getBorderStroke, getClippingOffset, setBackground, setBorderColor, setBorderStroke, setClippingArea
getBounds, getHeight, getPreferredSize, getWidth, getX, getY, setBounds, setBounds
public PiePlot.PiePlotArea2D(PiePlot plot)
plot
- Data provider.public void draw(DrawingContext context)
Drawable
with the specified drawing context.context
- Environment used for drawingprotected void drawPlot(DrawingContext context)
PlotArea