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

Interface AreaRenderer

    • Method Summary

      All Methods Instance Methods Abstract 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.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.
    • Method Detail

      • getAreaShape

        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.
      • getArea

        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.
      • getGap

        double getGap()
        Returns the value for the gap between the area and a data point.
        Returns:
        Gap between area and data point.
      • setGap

        void setGap(double gap)
        Sets the value for the gap between the area and a data point.
        Parameters:
        gap - Gap between area and data point.
      • isGapRounded

        boolean isGapRounded()
        Returns whether the gaps should have rounded corners.
        Returns:
        true, if the gaps should have rounded corners.
      • setGapRounded

        void setGapRounded(boolean gapRounded)
        Sets a value which decides whether the gaps should have rounded corners.
        Parameters:
        gapRounded - true, if the gaps should have rounded corners.
      • getColor

        java.awt.Paint getColor()
        Returns the paint used to fill the area shape.
        Returns:
        Paint for the area shape.
      • setColor

        void setColor(java.awt.Paint color)
        Sets the paint used to fill the area shape.
        Parameters:
        color - Paint for the area shape.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.