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

Class AbstractAreaRenderer

  • All Implemented Interfaces:
    AreaRenderer, java.io.Serializable
    Direct Known Subclasses:
    DefaultAreaRenderer2D, LineAreaRenderer2D


    public abstract class AbstractAreaRenderer
    extends java.lang.Object
    implements AreaRenderer, java.io.Serializable

    Abstract class that renders an area in two-dimensional space.

    Functionality includes:

    • Punching data points out of the area's shape
    • Administration of settings
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      AbstractAreaRenderer()
      Initializes a new 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 used to fill the area shape.
      double getGap()
      Returns the value for the gap between the area and a data point.
      boolean isGapRounded()
      Returns whether the gaps should have rounded corners.
      void setColor(java.awt.Paint color)
      Sets the paint used to fill the area shape.
      void setGap(double gap)
      Sets the value for the gap between the area and a data point.
      void setGapRounded(boolean gapRounded)
      Sets a value which decides whether the gaps should have rounded corners.
      • Methods inherited from class java.lang.Object

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

      • AbstractAreaRenderer

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

      • getGap

        public double getGap()
        Description copied from interface: AreaRenderer
        Returns the value for the gap between the area and a data point.
        Specified by:
        getGap in interface AreaRenderer
        Returns:
        Gap between area and data point.
      • setGap

        public void setGap(double gap)
        Description copied from interface: AreaRenderer
        Sets the value for the gap between the area and a data point.
        Specified by:
        setGap in interface AreaRenderer
        Parameters:
        gap - Gap between area and data point.
      • isGapRounded

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

        public void setGapRounded(boolean gapRounded)
        Description copied from interface: AreaRenderer
        Sets a value which decides whether the gaps should have rounded corners.
        Specified by:
        setGapRounded in interface AreaRenderer
        Parameters:
        gapRounded - true, if the gaps should have rounded corners.
      • getColor

        public java.awt.Paint getColor()
        Description copied from interface: AreaRenderer
        Returns the paint used to fill the area shape.
        Specified by:
        getColor in interface AreaRenderer
        Returns:
        Paint for the area shape.
      • setColor

        public void setColor(java.awt.Paint color)
        Description copied from interface: AreaRenderer
        Sets the paint used to fill the area shape.
        Specified by:
        setColor in interface AreaRenderer
        Parameters:
        color - Paint for the area shape.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.