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

Class AbstractLineRenderer2D

    • Constructor Summary

      Constructors 
      Constructor and Description
      AbstractLineRenderer2D()
      Initializes a new AbstractLineRenderer2D instance with default settings.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.awt.Paint getColor()
      Returns the paint to be used to paint the line shape.
      double getGap()
      Returns the value for the gap between the line and a point.
      java.awt.Stroke getStroke()
      Returns the stroke to be used to define the line shape.
      boolean isGapRounded()
      Returns whether the gaps should have rounded corners.
      void setColor(java.awt.Paint color)
      Sets the paint to be used to paint the line shape.
      void setGap(double gap)
      Sets the value for the gap between the line and a point.
      void setGapRounded(boolean gapRounded)
      Sets whether the gaps should have rounded corners.
      void setStroke(java.awt.Stroke stroke)
      Sets the stroke to be used to define the line shape.
      • Methods inherited from class java.lang.Object

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

      • AbstractLineRenderer2D

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

      • getStroke

        public java.awt.Stroke getStroke()
        Description copied from interface: LineRenderer
        Returns the stroke to be used to define the line shape.
        Specified by:
        getStroke in interface LineRenderer
        Returns:
        Stroke used for drawing.
      • setStroke

        public void setStroke(java.awt.Stroke stroke)
        Description copied from interface: LineRenderer
        Sets the stroke to be used to define the line shape.
        Specified by:
        setStroke in interface LineRenderer
        Parameters:
        stroke - Stroke used for drawing.
      • getGap

        public double getGap()
        Description copied from interface: LineRenderer
        Returns the value for the gap between the line and a point. If the gap value is equal to or smaller than 0 no gap will be used.
        Specified by:
        getGap in interface LineRenderer
        Returns:
        Gap size between drawn line and connected points in pixels.
      • setGap

        public void setGap(double gap)
        Description copied from interface: LineRenderer
        Sets the value for the gap between the line and a point. If the gap value is equal to or smaller than 0 no gap will be used.
        Specified by:
        setGap in interface LineRenderer
        Parameters:
        gap - Gap size between drawn line and connected points in pixels.
      • isGapRounded

        public boolean isGapRounded()
        Description copied from interface: LineRenderer
        Returns whether the gaps should have rounded corners.
        Specified by:
        isGapRounded in interface LineRenderer
        Returns:
        true if the gap corners should be rounded.
      • setGapRounded

        public void setGapRounded(boolean gapRounded)
        Description copied from interface: LineRenderer
        Sets whether the gaps should have rounded corners.
        Specified by:
        setGapRounded in interface LineRenderer
        Parameters:
        gapRounded - true if the gap corners should be rounded.
      • getColor

        public java.awt.Paint getColor()
        Description copied from interface: LineRenderer
        Returns the paint to be used to paint the line shape.
        Specified by:
        getColor in interface LineRenderer
        Returns:
        Paint for line drawing.
      • setColor

        public void setColor(java.awt.Paint color)
        Description copied from interface: LineRenderer
        Sets the paint to be used to paint the line shape.
        Specified by:
        setColor in interface LineRenderer
        Parameters:
        color - Paint for line drawing.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.