de.erichseifert.gral.plots.areas
Interface AreaRenderer

All Superinterfaces:
SettingsStorage
All Known Implementing Classes:
AbstractAreaRenderer, DefaultAreaRenderer2D, LineAreaRenderer2D

public interface AreaRenderer
extends SettingsStorage

Interface for renderers that display areas in plots.


Field Summary
static Settings.Key COLOR
          Key for specifying the Paint instance used to fill the area shape.
static Settings.Key GAP
          Key for specifying a Number value for the gap between the area and a data point.
static Settings.Key GAP_ROUNDED
          Key for specifying a Boolean value that decides whether the gaps should have rounded corners.
 
Method Summary
 Drawable getArea(Axis axis, AxisRenderer axisRenderer, Iterable<DataPoint> points)
          Returns the graphical representation to be drawn for the specified data points.
 
Methods inherited from interface de.erichseifert.gral.util.SettingsStorage
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault
 

Field Detail

GAP

static final Settings.Key GAP
Key for specifying a Number value for the gap between the area and a data point.


GAP_ROUNDED

static final Settings.Key GAP_ROUNDED
Key for specifying a Boolean value that decides whether the gaps should have rounded corners.


COLOR

static final Settings.Key COLOR
Key for specifying the Paint instance used to fill the area shape.

Method Detail

getArea

Drawable getArea(Axis axis,
                 AxisRenderer axisRenderer,
                 Iterable<DataPoint> points)
Returns the graphical representation to be drawn for the specified data points.

Parameters:
axis - Reference axis for the specified data points.
axisRenderer - Renderer of the reference axis.
points - Points to be used for creating the area.
Returns:
Representation of the area.


Copyright © 2009-2010. All Rights Reserved.