de.erichseifert.gral.plots.areas
Class DefaultAreaRenderer2D
- java.lang.Object
-
- de.erichseifert.gral.plots.areas.AbstractAreaRenderer
-
- de.erichseifert.gral.plots.areas.DefaultAreaRenderer2D
-
- All Implemented Interfaces:
- AreaRenderer, java.io.Serializable
public class DefaultAreaRenderer2D extends AbstractAreaRenderer
Default two-dimensional implementation of theAreaRendererinterface.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description DefaultAreaRenderer2D()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DrawablegetArea(java.util.List<DataPoint> points, java.awt.Shape shape)Returns the graphical representation to be drawn for the specified data points.java.awt.ShapegetAreaShape(java.util.List<DataPoint> points)Returns the shape used for rendering the area of a data points.-
Methods inherited from class de.erichseifert.gral.plots.areas.AbstractAreaRenderer
getColor, getGap, isGapRounded, setColor, setGap, setGapRounded
-
-
-
-
Method Detail
-
getArea
public Drawable getArea(java.util.List<DataPoint> points, java.awt.Shape shape)
Returns the graphical representation to be drawn for the specified data points.- Parameters:
points- Points to be used for creating the area.shape- Geometric shape of the area.- Returns:
- Representation of the area.
-
getAreaShape
public java.awt.Shape getAreaShape(java.util.List<DataPoint> points)
Returns the shape used for rendering the area of a data points.- Parameters:
points- Data points.- Returns:
- Geometric shape for the area of the specified data points.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG