public class LineAndPointFormatter extends XYSeriesFormatter<XYRegionFormatter>
Modifier and Type | Field and Description |
---|---|
protected FillDirection |
fillDirection |
protected android.graphics.Paint |
fillPaint |
protected InterpolationParams |
interpolationParams |
protected android.graphics.Paint |
linePaint |
protected android.graphics.Paint |
vertexPaint |
Constructor and Description |
---|
LineAndPointFormatter()
Should only be used in conjunction with calls to configure()...
|
LineAndPointFormatter(Integer lineColor,
Integer vertexColor,
Integer fillColor,
PointLabelFormatter plf) |
LineAndPointFormatter(Integer lineColor,
Integer vertexColor,
Integer fillColor,
PointLabelFormatter plf,
FillDirection fillDir) |
Modifier and Type | Method and Description |
---|---|
void |
disableShadows() |
void |
enableShadows()
Enables the shadow layer on linePaint and shadowPaint by calling
setShadowLayer() with preset values.
|
FillDirection |
getFillDirection() |
android.graphics.Paint |
getFillPaint() |
InterpolationParams |
getInterpolationParams() |
android.graphics.Paint |
getLinePaint() |
PointLabeler |
getPointLabeler() |
PointLabelFormatter |
getPointLabelFormatter() |
Class<? extends SeriesRenderer> |
getRendererClass() |
SeriesRenderer |
getRendererInstance(XYPlot plot) |
android.graphics.Paint |
getVertexPaint() |
protected void |
initFillPaint(Integer fillColor) |
protected void |
initLinePaint(Integer lineColor) |
protected void |
initVertexPaint(Integer vertexColor) |
void |
setFillDirection(FillDirection fillDirection)
Sets which edge to use to close the line's path for filling purposes.
|
void |
setFillPaint(android.graphics.Paint fillPaint) |
void |
setInterpolationParams(InterpolationParams params) |
void |
setLinePaint(android.graphics.Paint linePaint) |
void |
setPointLabeler(PointLabeler pointLabeler) |
void |
setPointLabelFormatter(PointLabelFormatter pointLabelFormatter) |
void |
setVertexPaint(android.graphics.Paint vertexPaint) |
addRegion, getRegionFormatter, getRegions, removeRegion
protected FillDirection fillDirection
protected android.graphics.Paint linePaint
protected android.graphics.Paint vertexPaint
protected android.graphics.Paint fillPaint
protected InterpolationParams interpolationParams
public LineAndPointFormatter()
public LineAndPointFormatter(Integer lineColor, Integer vertexColor, Integer fillColor, PointLabelFormatter plf)
public LineAndPointFormatter(Integer lineColor, Integer vertexColor, Integer fillColor, PointLabelFormatter plf, FillDirection fillDir)
public FillDirection getFillDirection()
public void setFillDirection(FillDirection fillDirection)
FillDirection
.fillDirection
- public Class<? extends SeriesRenderer> getRendererClass()
getRendererClass
in class Formatter<XYPlot>
public SeriesRenderer getRendererInstance(XYPlot plot)
getRendererInstance
in class Formatter<XYPlot>
protected void initLinePaint(Integer lineColor)
protected void initVertexPaint(Integer vertexColor)
protected void initFillPaint(Integer fillColor)
public void enableShadows()
public void disableShadows()
public android.graphics.Paint getLinePaint()
public void setLinePaint(android.graphics.Paint linePaint)
public android.graphics.Paint getVertexPaint()
public void setVertexPaint(android.graphics.Paint vertexPaint)
public android.graphics.Paint getFillPaint()
public void setFillPaint(android.graphics.Paint fillPaint)
public PointLabelFormatter getPointLabelFormatter()
public void setPointLabelFormatter(PointLabelFormatter pointLabelFormatter)
public PointLabeler getPointLabeler()
public void setPointLabeler(PointLabeler pointLabeler)
public InterpolationParams getInterpolationParams()
public void setInterpolationParams(InterpolationParams params)