1 package org.opentrafficsim.draw.core; 2 3 import java.awt.Color; 4 5 import org.jfree.chart.renderer.PaintScale; 6 7 /** 8 * Paint scale that forces the output to be a color. This is used inside XYInterpolatedBlockRenderer. 9 * <p> 10 * Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 11 * BSD-style license. See <a href="http://opentrafficsim.org/node/13">OpenTrafficSim License</a>. 12 * <p> 13 * @version $Revision$, $LastChangedDate$, by $Author$, initial version 8 okt. 2018 <br> 14 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a> 15 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a> 16 * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a> 17 */ 18 public interface ColorPaintScale extends PaintScale 19 { 20 21 /** {@inheritDoc} */ 22 @Override 23 Color getPaint(double value); 24 25 }