Interface Colorer<D extends Drawable>
- Type Parameters:
D- the drawable type
- All Known Subinterfaces:
GTUColorer
- All Known Implementing Classes:
AccelerationGTUColorer,BlockingColorer,ControlColorer,DefaultSwitchableGTUColorer,DesireColorer,DesiredHeadwayColorer,DesiredSpeedColorer,DistractionColorer,FixedColor,FixedColorer,GTUTypeColorer,IDGTUColorer,IncentiveColorer,LmrsSwitchableColorer,ReactionTimeColorer,SocialPressureColorer,SpeedGTUColorer,SplitColorer,SwitchableGTUColorer,SynchronizationColorer,TaskColorer,TaskSaturationColorer,TotalDesireColorer
public interface Colorer<D extends Drawable>
Colorer is the generic interface for anything that can get a static or dynamic color in an animation within OTS.
Copyright (c) 2003-2020 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
Copyright (c) 2003-2020 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
- Author:
- Alexander Verbraeck
-
Method Details
-
getColor
Get the color, based on the Drawable object.- Parameters:
drawable- D; the object to determine the color for- Returns:
- the (fill, line) color of the drawable object
-