public class LineAreaRenderer2D extends AbstractAreaRenderer
AreaRenderer
interface
that draws lines from data points to the main axis.Constructor and Description |
---|
LineAreaRenderer2D()
Standard constructor that initializes a new instance.
|
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.Stroke |
getStroke()
Returns the stroke that is used to draw the lines from the
data points to the axis.
|
void |
setStroke(java.awt.Stroke stroke)
Set the stroke that is used to draw the lines from the
data points to the axis.
|
getColor, getGap, isGapRounded, punch, setColor, setGap, setGapRounded
public LineAreaRenderer2D()
public 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.public java.awt.Shape getAreaShape(java.util.List<DataPoint> points)
points
- Data points.public java.awt.Stroke getStroke()
public void setStroke(java.awt.Stroke stroke)
stroke
- Stroke for line drawing.