JIDE 3.5.15

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.


Method Summary
 void renderSegments(Graphics2D g, Chart chart, ChartModel m, Point2D center, float radius, float[] angles)
          The method for rendering segments onto the supplied graphics context
 
Methods inherited from interface com.jidesoft.chart.render.PieSegmentRenderer
clearShapes, containingSegment, getPieLabelRenderer, getPointLabeler, getTickLength, renderSegments, setLabelGraphics, setPointLabeler, setTickLength
 

Method Detail

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 context
chart - the chart
m - the model of interest
center - the center point (in pixel coordinates) of the rendered area
radius - the radius of the pie chart (in pixels)
angles - the angles (in degrees) of the respective segments of the model

JIDE 3.5.15