de.erichseifert.gral.plots.lines
Class DiscreteLineRenderer2D
java.lang.Object
de.erichseifert.gral.plots.lines.AbstractLineRenderer2D
de.erichseifert.gral.plots.lines.DiscreteLineRenderer2D
- All Implemented Interfaces:
- LineRenderer, SettingsListener, SettingsStorage
public class DiscreteLineRenderer2D
- extends AbstractLineRenderer2D
Class that connects DataPoint
s with a stair-like line.
Constructor Summary |
DiscreteLineRenderer2D()
Initializes a new DiscreteLineRenderer2D instance with
default settings. |
ASCENT_DIRECTION
public static final Settings.Key ASCENT_DIRECTION
- Key for specifying an
DrawableConstants.Orientation
instance which indicates the primary direction of the "steps".
ASCENDING_POINT
public static final Settings.Key ASCENDING_POINT
- Key for specifying a
Number
value for the relative
distance between two points, i.e. the "step" of a stair.
DiscreteLineRenderer2D
public DiscreteLineRenderer2D()
- Initializes a new
DiscreteLineRenderer2D
instance with
default settings.
getLine
public Drawable getLine(Iterable<DataPoint> points)
- Description copied from interface:
LineRenderer
- Returns a graphical representation for the line defined by
points
.
- Parameters:
points
- Points to be used for creating the line.
- Returns:
- Representation of the line.
Copyright © 2009-2010. All Rights Reserved.