de.erichseifert.gral.plots.lines
Class DefaultLineRenderer2D

java.lang.Object
  extended by de.erichseifert.gral.plots.lines.AbstractLineRenderer2D
      extended by de.erichseifert.gral.plots.lines.DefaultLineRenderer2D
All Implemented Interfaces:
LineRenderer, SettingsListener, SettingsStorage

public class DefaultLineRenderer2D
extends AbstractLineRenderer2D

Class that connects DataPoints2D with a straight line.


Field Summary
 
Fields inherited from interface de.erichseifert.gral.plots.lines.LineRenderer
COLOR, GAP, GAP_ROUNDED, STROKE
 
Constructor Summary
DefaultLineRenderer2D()
          Initializes a new DefaultLineRenderer2D instance.
 
Method Summary
 Drawable getLine(Iterable<DataPoint> points)
          Returns a graphical representation for the line defined by points.
 
Methods inherited from class de.erichseifert.gral.plots.lines.AbstractLineRenderer2D
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault, settingChanged
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLineRenderer2D

public DefaultLineRenderer2D()
Initializes a new DefaultLineRenderer2D instance.

Method Detail

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.