public interface AreaRenderer
Modifier and Type | Method and Description |
---|---|
Drawable |
getArea(java.util.List<DataPoint> points,
java.awt.Shape shape)
Returns the graphical representation to be drawn for the specified data
points.
|
java.awt.Shape |
getAreaShape(java.util.List<DataPoint> points)
Returns the shape used for rendering the area of a data points.
|
java.awt.Paint |
getColor()
Returns the paint used to fill the area shape.
|
double |
getGap()
Returns the value for the gap between the area and a data point.
|
boolean |
isGapRounded()
Returns whether the gaps should have rounded corners.
|
void |
setColor(java.awt.Paint color)
Sets the paint used to fill the area shape.
|
void |
setGap(double gap)
Sets the value for the gap between the area and a data point.
|
void |
setGapRounded(boolean gapRounded)
Sets a value which decides whether the gaps should have rounded corners.
|
java.awt.Shape getAreaShape(java.util.List<DataPoint> points)
points
- Data points.Drawable getArea(java.util.List<DataPoint> points, java.awt.Shape shape)
points
- Points that define the shape of the area.shape
- Geometric shape of the area.double getGap()
void setGap(double gap)
gap
- Gap between area and data point.boolean isGapRounded()
true
, if the gaps should have rounded corners.void setGapRounded(boolean gapRounded)
gapRounded
- true
, if the gaps should have rounded corners.java.awt.Paint getColor()
void setColor(java.awt.Paint color)
color
- Paint for the area shape.