Class AlphaGrayScale

  • All Implemented Interfaces:
    org.jfree.chart.renderer.PaintScale

    public class AlphaGrayScale
    extends Object
    implements org.jfree.chart.renderer.PaintScale
    A color scale using alpha and gray.
    Author:
    Christian Fries
    • Constructor Detail

      • AlphaGrayScale

        public AlphaGrayScale​(double lowerBound,
                              double upperBound,
                              double frequency,
                              double thickness)
    • Method Detail

      • getLowerBound

        public double getLowerBound()
        Specified by:
        getLowerBound in interface org.jfree.chart.renderer.PaintScale
      • getUpperBound

        public double getUpperBound()
        Specified by:
        getUpperBound in interface org.jfree.chart.renderer.PaintScale
      • getPaint

        public Paint getPaint​(double value)
        Specified by:
        getPaint in interface org.jfree.chart.renderer.PaintScale