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

Class DiscreteLineRenderer2D

    • Constructor Detail

      • DiscreteLineRenderer2D

        public DiscreteLineRenderer2D()
        Initializes a new DiscreteLineRenderer2D 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.
      • getAscentDirection

        public Orientation getAscentDirection()
        Returns the primary direction of the "steps".
        Returns:
        Orientation of the "steps".
      • setAscentDirection

        public void setAscentDirection(Orientation ascentDirection)
        Sets the primary direction of the "steps".
        Parameters:
        ascentDirection - Orientation of the "steps".
      • getAscendingPoint

        public java.lang.Number getAscendingPoint()
        Returns the relative distance between two points, i.e. the "step" of a stair.
        Returns:
        Relative point distance.
      • setAscendingPoint

        public void setAscendingPoint(java.lang.Number ascendingPoint)
        Sets the relative distance between two points, i.e. the "step" of a stair.
        Parameters:
        ascendingPoint - Relative point distance.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.