public class DiscreteLineRenderer2D extends AbstractLineRenderer2D
DataPoint
s with a stair-like line.Modifier and Type | Field and Description |
---|---|
static Key |
ASCENDING_POINT
Key for specifying a
Number value for the relative distance
between two points, i.e. the "step" of a stair. |
static Key |
ASCENT_DIRECTION
Key for specifying an instance of
Orientation which indicates the primary
direction of the "steps". |
COLOR, GAP, GAP_ROUNDED, STROKE
Constructor and Description |
---|
DiscreteLineRenderer2D()
Initializes a new
DiscreteLineRenderer2D instance with default
settings. |
Modifier and Type | Method and Description |
---|---|
Drawable |
getLine(List<DataPoint> points,
Shape shape)
Returns a graphical representation for the line defined by
points . |
Shape |
getLineShape(List<DataPoint> points)
Returns the geometric shape for this line.
|
punch, settingChanged
addSettingsListener, getSetting, hasSetting, hasSettingDefault, notifySettingChanged, removeSetting, removeSettingDefault, removeSettingsListener, setSetting, setSetting, setSettingDefault
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault
public static final Key ASCENT_DIRECTION
Orientation
which indicates the primary
direction of the "steps".public DiscreteLineRenderer2D()
DiscreteLineRenderer2D
instance with default
settings.Copyright © 2009-2013. All Rights Reserved.