1 package org.opentrafficsim.animation;
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-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
11 * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
12 * </p>
13 * @author Alexander Verbraeck
14 * @author Peter Knoppers
15 * @author Wouter Schakel
16 */
17 public interface ColorPaintScale extends PaintScale
18 {
19
20 @Override
21 Color getPaint(double value);
22
23 }