@FunctionalInterface
protected static interface PieRenderer.ProcessSlice
Modifier and Type | Method and Description |
---|---|
void |
invoke(int dataIndex,
java.awt.geom.Rectangle2D rect,
double diameter,
double startAngle,
double sweepAngle,
java.awt.geom.GeneralPath path)
Passes coordinates of the slice corresponding to a data value to the lambda.
|
void invoke(int dataIndex, java.awt.geom.Rectangle2D rect, double diameter, double startAngle, double sweepAngle, java.awt.geom.GeneralPath path)
dataIndex
- An integer index of data item in Series.rect
- The bounding rectangle of the slice' circle.diameter
- The diameter of the pie.startAngle
- The start angle of the slice' sector.sweepAngle
- The sweep angle of the slice' sector.path
- A GraphicsPath representing the slice.