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