com.jidesoft.chart.render
Interface PieSegmentRenderer2D
- All Superinterfaces:
- PieSegmentRenderer
- All Known Implementing Classes:
- DefaultPieSegmentRenderer, Pie3DRenderer
public interface PieSegmentRenderer2D
- extends PieSegmentRenderer
An interface implemented by objects responsible for rendering the pie segments of a pie chart, but also supporting
the use of floating point numbers for the positioning of the segments.
renderSegments
void renderSegments(Graphics2D g,
Chart chart,
ChartModel m,
Point2D center,
float radius,
float[] angles)
- The method for rendering segments onto the supplied graphics context
- Parameters:
g
- the Graphics2D contextchart
- the chartm
- the model of interestcenter
- the center point (in pixel coordinates) of the rendered arearadius
- the radius of the pie chart (in pixels)angles
- the angles (in degrees) of the respective segments of the model