Constructor and Description |
---|
SegmentFormatter(android.content.Context context,
int xmlCfgId) |
SegmentFormatter(Integer fillColor) |
SegmentFormatter(Integer fillColor,
Integer borderColor) |
SegmentFormatter(Integer fillColor,
Integer outerEdgeColor,
Integer innerEdgeColor,
Integer radialEdgeColor) |
Modifier and Type | Method and Description |
---|---|
SeriesRenderer |
doGetRendererInstance(PieChart plot) |
android.graphics.Paint |
getFillPaint() |
android.graphics.Paint |
getInnerEdgePaint() |
float |
getInnerInset() |
android.graphics.Paint |
getLabelMarkerPaint() |
android.graphics.Paint |
getLabelPaint() |
float |
getOffset() |
android.graphics.Paint |
getOuterEdgePaint() |
float |
getOuterInset() |
android.graphics.Paint |
getRadialEdgePaint() |
float |
getRadialInset() |
Class<? extends SeriesRenderer> |
getRendererClass() |
void |
setFillPaint(android.graphics.Paint fillPaint) |
void |
setInnerEdgePaint(android.graphics.Paint innerEdgePaint) |
void |
setInnerInset(float innerInset) |
void |
setLabelMarkerPaint(android.graphics.Paint labelMarkerPaint) |
void |
setLabelPaint(android.graphics.Paint labelPaint) |
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.
|
void |
setOuterEdgePaint(android.graphics.Paint outerEdgePaint) |
void |
setOuterInset(float outerInset) |
void |
setRadialEdgePaint(android.graphics.Paint radialEdgePaint) |
void |
setRadialInset(float radialInset)
Set an inset in degrees for the radial edges of this segment.
|
configure, getRendererInstance, isLegendIconEnabled, setLegendIconEnabled
public SegmentFormatter(Integer fillColor)
public SegmentFormatter(android.content.Context context, int xmlCfgId)
public Class<? extends SeriesRenderer> getRendererClass()
getRendererClass
in class Formatter<PieChart>
public SeriesRenderer doGetRendererInstance(PieChart plot)
doGetRendererInstance
in class Formatter<PieChart>
public android.graphics.Paint getInnerEdgePaint()
public void setInnerEdgePaint(android.graphics.Paint innerEdgePaint)
public android.graphics.Paint getOuterEdgePaint()
public void setOuterEdgePaint(android.graphics.Paint outerEdgePaint)
public android.graphics.Paint getRadialEdgePaint()
public void setRadialEdgePaint(android.graphics.Paint radialEdgePaint)
public android.graphics.Paint getFillPaint()
public void setFillPaint(android.graphics.Paint fillPaint)
public android.graphics.Paint getLabelPaint()
public void setLabelPaint(android.graphics.Paint labelPaint)
public android.graphics.Paint getLabelMarkerPaint()
public void setLabelMarkerPaint(android.graphics.Paint labelMarkerPaint)
public float getOffset()
public void setOffset(float offset)
offset
- public float getRadialInset()
public void setRadialInset(float radialInset)
radialInset
- public float getInnerInset()
public void setInnerInset(float innerInset)
public float getOuterInset()
public void setOuterInset(float outerInset)