public interface LineRenderer extends SettingsStorage
Interface that provides functions for rendering a line in two dimensional space.
Functionality includes:
Modifier and Type | Field and Description |
---|---|
static Key |
COLOR
Key for specifying the
Paint instance to be used to
paint the line shape. |
static Key |
GAP
Key for specifying a
Number value for the gap between the line
and a point. |
static Key |
GAP_ROUNDED
Key for specifying a
Boolean value which decides whether the
gaps should have rounded corners. |
static Key |
STROKE
Key for specifying the
Stroke instance to be used to
define the line shape. |
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.
|
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault
static final Key STROKE
Stroke
instance to be used to
define the line shape.static final Key GAP
Number
value for the gap between the line
and a point. If the gap value is equal to or smaller than 0 no gap will be
used.static final Key GAP_ROUNDED
Boolean
value which decides whether the
gaps should have rounded corners.Copyright © 2009-2013. All Rights Reserved.