public interface GTUColorer
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Interface and Description |
|---|---|
static class |
GTUColorer.LegendEntry
Packs a Color, a short description and a long description in one object.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
getColor(GTU<?> gtu)
Return the fill color for a GTU.
|
List<GTUColorer.LegendEntry> |
getLegend()
Return a list of legend entries (useful to make a legend of the colors used to render the GTUs).
|
Color getColor(GTU<?> gtu) throws RemoteException
gtu - GTU; the GTURemoteException - on communications failureList<GTUColorer.LegendEntry> getLegend()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.