public abstract class DesireColorer extends Object implements org.opentrafficsim.core.gtu.animation.GTUColorer, Serializable
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
DesireColorer() |
| Modifier and Type | Method and Description |
|---|---|
protected Color |
getColor(double dLeft,
double dRight)
Returns a color based on desire.
|
List<org.opentrafficsim.core.gtu.animation.GTUColorer.LegendEntry> |
getLegend() |
protected static final Color NA
public final List<org.opentrafficsim.core.gtu.animation.GTUColorer.LegendEntry> getLegend()
getLegend in interface org.opentrafficsim.core.gtu.animation.GTUColorerprotected final Color getColor(double dLeft, double dRight)
dLeft - left desiredRight - right desireCopyright © 2014–2018 Delft University of Technology. All rights reserved.