de.erichseifert.gral.plots.areas
Class LineAreaRenderer2D
java.lang.Object
de.erichseifert.gral.plots.areas.AbstractAreaRenderer
de.erichseifert.gral.plots.areas.LineAreaRenderer2D
- All Implemented Interfaces:
- AreaRenderer, SettingsListener, SettingsStorage
public class LineAreaRenderer2D
- extends AbstractAreaRenderer
Default two-dimensional implementation of the AreaRenderer
interface that draws lines from data points to the main axis.
Field Summary |
static Settings.Key |
STROKE
Key for specifying the Stroke instance that is used
draw the lines from the data points to the axis. |
Constructor Summary |
LineAreaRenderer2D()
Standard constructor that initializes a new instance. |
STROKE
public static final Settings.Key STROKE
- Key for specifying the
Stroke
instance that is used
draw the lines from the data points to the axis.
LineAreaRenderer2D
public LineAreaRenderer2D()
- Standard constructor that initializes a new instance.
getArea
public Drawable getArea(Axis axis,
AxisRenderer axisRenderer,
Iterable<DataPoint> points)
- Description copied from interface:
AreaRenderer
- Returns the graphical representation to be drawn for the specified
data points.
- Parameters:
axis
- Reference axis for the specified data points.axisRenderer
- Renderer of the reference axis.points
- Points to be used for creating the area.
- Returns:
- Representation of the area.
Copyright © 2009-2010. All Rights Reserved.