Documentation of 'de.erichseifert.gral.plots.areas.LineAreaRenderer2D' Java class
LineAreaRenderer2D
de.erichseifert.gral.plots.areas

Class LineAreaRenderer2D

  • All Implemented Interfaces:
    AreaRenderer, java.io.Serializable


    public class LineAreaRenderer2D
    extends AbstractAreaRenderer
    Default two-dimensional implementation of the AreaRenderer interface that draws lines from data points to the main axis.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      LineAreaRenderer2D()
      Standard constructor that initializes a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Drawable getArea(java.util.List<DataPoint> points, java.awt.Shape shape)
      Returns the graphical representation to be drawn for the specified data points.
      java.awt.Shape getAreaShape(java.util.List<DataPoint> points)
      Returns the shape used for rendering the area of a data points.
      java.awt.Stroke getStroke()
      Returns the stroke that is used to draw the lines from the data points to the axis.
      void setStroke(java.awt.Stroke stroke)
      Set the stroke that is used to draw the lines from the data points to the axis.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LineAreaRenderer2D

        public LineAreaRenderer2D()
        Standard constructor that initializes a new instance.
    • 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 that define the shape of 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.
      • getStroke

        public java.awt.Stroke getStroke()
        Returns the stroke that is used to draw the lines from the data points to the axis.
        Returns:
        Stroke for line drawing.
      • setStroke

        public void setStroke(java.awt.Stroke stroke)
        Set the stroke that is used to draw the lines from the data points to the axis.
        Parameters:
        stroke - Stroke for line drawing.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.