Documentation of 'de.erichseifert.gral.plots.lines.SmoothLineRenderer2D' Java class
SmoothLineRenderer2D
de.erichseifert.gral.plots.lines

Class SmoothLineRenderer2D

    • Constructor Detail

      • SmoothLineRenderer2D

        public SmoothLineRenderer2D()
        Initializes a new SmoothLineRenderer2D instance with default settings.
    • Method Detail

      • getLine

        public Drawable getLine(java.util.List<DataPoint> points,
                                java.awt.Shape shape)
        Returns a graphical representation for the line defined by points.
        Parameters:
        points - Points to be used for creating the line.
        shape - Geometric shape for this line.
        Returns:
        Representation of the line.
      • getLineShape

        public java.awt.Shape getLineShape(java.util.List<DataPoint> points)
        Returns the geometric shape for this line.
        Parameters:
        points - Points used for creating the line.
        Returns:
        Geometric shape for this line.
      • getSmoothness

        public java.lang.Number getSmoothness()
        Returns the smoothness of the line. The value must be in range 0 (sharpest) to 1 (smoothest).
        Returns:
        Line smoothness.
      • setSmoothness

        public void setSmoothness(java.lang.Number smoothness)
        Returns the smoothness of the line. The value must be in range 0 (sharpest) to 1 (smoothest).
        Parameters:
        smoothness - Line smoothness.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.