com.androidplot.pie
Class SegmentFormatter
java.lang.Object
com.androidplot.ui.Formatter<PieChart>
com.androidplot.pie.SegmentFormatter
public class SegmentFormatter
- extends Formatter<PieChart>
SegmentFormatter
public SegmentFormatter()
- Should only be used in conjunction with calls to configure()...
SegmentFormatter
public SegmentFormatter(Integer fillColor)
SegmentFormatter
public SegmentFormatter(Integer fillColor,
Integer borderColor)
SegmentFormatter
public SegmentFormatter(Integer fillColor,
Integer outerEdgeColor,
Integer innerEdgeColor,
Integer radialEdgeColor)
getRendererClass
public Class<? extends SeriesRenderer> getRendererClass()
- Specified by:
getRendererClass
in class Formatter<PieChart>
- Returns:
- The Class of SeriesRenderer that should be used.
getRendererInstance
public SeriesRenderer getRendererInstance(PieChart plot)
- Specified by:
getRendererInstance
in class Formatter<PieChart>
- Returns:
- An instance of SeriesRenderer that took plot as an argument to its constructor.
getInnerEdgePaint
public android.graphics.Paint getInnerEdgePaint()
setInnerEdgePaint
public void setInnerEdgePaint(android.graphics.Paint innerEdgePaint)
getOuterEdgePaint
public android.graphics.Paint getOuterEdgePaint()
setOuterEdgePaint
public void setOuterEdgePaint(android.graphics.Paint outerEdgePaint)
getRadialEdgePaint
public android.graphics.Paint getRadialEdgePaint()
setRadialEdgePaint
public void setRadialEdgePaint(android.graphics.Paint radialEdgePaint)
getFillPaint
public android.graphics.Paint getFillPaint()
setFillPaint
public void setFillPaint(android.graphics.Paint fillPaint)
getLabelPaint
public android.graphics.Paint getLabelPaint()
setLabelPaint
public void setLabelPaint(android.graphics.Paint labelPaint)
getLabelMarkerPaint
public android.graphics.Paint getLabelMarkerPaint()
setLabelMarkerPaint
public void setLabelMarkerPaint(android.graphics.Paint labelMarkerPaint)
Copyright © 2010-2013 androidplot.com. All Rights Reserved.