|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LineRenderer
Interface that provides functions for rendering a line in 2-dimensional space.
Functionality includes:
Field Summary | |
---|---|
static Settings.Key |
COLOR
Key for specifying the Paint instance to be used to paint the line shape. |
static Settings.Key |
GAP
Key for specifying a Number value for the gap
between the line and a point. |
static Settings.Key |
GAP_ROUNDED
Key for specifying a Boolean value which decides
whether the gaps should have rounded corners. |
static Settings.Key |
STROKE
Key for specifying the Stroke instance to be used to define the line shape. |
Method Summary | |
---|---|
Drawable |
getLine(Iterable<DataPoint> points)
Returns a graphical representation for the line defined by points . |
Methods inherited from interface de.erichseifert.gral.util.SettingsStorage |
---|
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault |
Field Detail |
---|
static final Settings.Key STROKE
Stroke
instance to be used to define the line shape.
static final Settings.Key GAP
Number
value for the gap
between the line and a point. If the gap value is <=0 no gap will be used.
static final Settings.Key GAP_ROUNDED
Boolean
value which decides
whether the gaps should have rounded corners.
static final Settings.Key COLOR
Paint
instance to be used to paint the line shape.
Method Detail |
---|
Drawable getLine(Iterable<DataPoint> points)
points
.
points
- Points to be used for creating the line.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |