public class AreaRendererBase extends LineRenderer
Modifier and Type | Field and Description |
---|---|
static int |
FILL_COLOR_PROPERTY_KEY |
List<Point> |
topSurfacePoints
The current collection of top surface points.
|
layoutContext, STROKE_COLOR_PROPERTY_KEY, STROKE_THICKNESS_PROPERTY_KEY
Constructor and Description |
---|
AreaRendererBase()
Creates a new instance of the
AreaRendererBase class. |
Modifier and Type | Method and Description |
---|---|
void |
applyPalette(ChartPalette palette)
Applies the color of the current palette entry to the current renderer implementation.
|
int |
getFillColor()
Gets the current fill color id.
|
Paint |
getFillPaint() |
boolean |
hitTest(PointF touchLocation,
float lineTouchSize)
Determines if the figure drawn by the renderer contains the given point.
|
void |
setFillColor(int value)
Sets the current fill color id.
|
void |
setFillPaint(Paint paint) |
getDashArray, getDataPointIndicatorRenderer, getLinePaint, getPointIndicatorColor, getPointIndicatorStrokeColor, getStrokeColor, getStrokeThickness, setDashArray, setDataPointIndicatorRenderer, setModel, setPointIndicatorColor, setPointIndicatorStrokeColor, setStrokeColor, setStrokePaint, setStrokeThickness
dataPointSegments, prepare, render
getValue, resetPropertyValue, setValue, setValue
public AreaRendererBase()
AreaRendererBase
class.public int getFillColor()
public void setFillColor(int value)
value
- the new color id.public Paint getFillPaint()
public void setFillPaint(Paint paint)
public void applyPalette(ChartPalette palette)
ChartSeriesRenderer
applyPalette
in class LineRenderer
public boolean hitTest(PointF touchLocation, float lineTouchSize)
LineRenderer
hitTest
in class LineRenderer
touchLocation
- The point to test.