-
public class SegmentFormatter extends Formatter<PieChart>
-
-
Field Summary
Fields Modifier and Type Field Description private PaintinnerEdgePaintprivate PaintouterEdgePaintprivate PaintradialEdgePaintprivate PaintfillPaintprivate PaintlabelPaintprivate PaintlabelMarkerPaintprivate floatoffsetprivate floatradialInsetprivate floatinnerInsetprivate floatouterInset
-
Constructor Summary
Constructors Constructor Description SegmentFormatter(Integer fillColor)SegmentFormatter(Context context, int xmlCfgId)SegmentFormatter(Integer fillColor, Integer borderColor)SegmentFormatter(Integer fillColor, Integer outerEdgeColor, Integer innerEdgeColor, Integer radialEdgeColor)
-
Method Summary
Modifier and Type Method Description PaintgetInnerEdgePaint()voidsetInnerEdgePaint(Paint innerEdgePaint)PaintgetOuterEdgePaint()voidsetOuterEdgePaint(Paint outerEdgePaint)PaintgetRadialEdgePaint()voidsetRadialEdgePaint(Paint radialEdgePaint)PaintgetFillPaint()voidsetFillPaint(Paint fillPaint)PaintgetLabelPaint()voidsetLabelPaint(Paint labelPaint)PaintgetLabelMarkerPaint()voidsetLabelMarkerPaint(Paint labelMarkerPaint)floatgetOffset()voidsetOffset(float offset)Set an offset relative to the center of the pie chart at which this segment should be drawn;generally used to highlight specific segments. floatgetRadialInset()voidsetRadialInset(float radialInset)Set an inset in degrees for the radial edges of this segment.generally used to highlight specific segments. floatgetInnerInset()voidsetInnerInset(float innerInset)floatgetOuterInset()voidsetOuterInset(float outerInset)Class<out SeriesRenderer>getRendererClass()SeriesRendererdoGetRendererInstance(PieChart plot)-
-
Method Detail
-
getInnerEdgePaint
Paint getInnerEdgePaint()
-
setInnerEdgePaint
void setInnerEdgePaint(Paint innerEdgePaint)
-
getOuterEdgePaint
Paint getOuterEdgePaint()
-
setOuterEdgePaint
void setOuterEdgePaint(Paint outerEdgePaint)
-
getRadialEdgePaint
Paint getRadialEdgePaint()
-
setRadialEdgePaint
void setRadialEdgePaint(Paint radialEdgePaint)
-
getFillPaint
Paint getFillPaint()
-
setFillPaint
void setFillPaint(Paint fillPaint)
-
getLabelPaint
Paint getLabelPaint()
-
setLabelPaint
void setLabelPaint(Paint labelPaint)
-
getLabelMarkerPaint
Paint getLabelMarkerPaint()
-
setLabelMarkerPaint
void setLabelMarkerPaint(Paint labelMarkerPaint)
-
getOffset
float getOffset()
-
setOffset
void setOffset(float offset)
Set an offset relative to the center of the pie chart at which this segment should be drawn;generally used to highlight specific segments.
-
getRadialInset
float getRadialInset()
-
setRadialInset
void setRadialInset(float radialInset)
Set an inset in degrees for the radial edges of this segment.generally used to highlight specific segments.
-
getInnerInset
float getInnerInset()
-
setInnerInset
void setInnerInset(float innerInset)
-
getOuterInset
float getOuterInset()
-
setOuterInset
void setOuterInset(float outerInset)
-
getRendererClass
Class<out SeriesRenderer> getRendererClass()
-
doGetRendererInstance
SeriesRenderer doGetRendererInstance(PieChart plot)
-
-
-
-