public class SmoothLineRenderer2D extends AbstractLineRenderer2D
Class that connects DataPoint
s with a smooth line.
See Interpolation with Bezier Curves for more information.
Modifier and Type | Field and Description |
---|---|
static Key |
SMOOTHNESS
Key for specifying a
Number value for the smoothness of the
line. |
COLOR, GAP, GAP_ROUNDED, STROKE
Constructor and Description |
---|
SmoothLineRenderer2D()
Initializes a new
SmoothLineRenderer2D 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 SmoothLineRenderer2D()
SmoothLineRenderer2D
instance with
default settings.Copyright © 2009-2013. All Rights Reserved.