Class Colors
- java.lang.Object
-
- org.opentrafficsim.core.network.factory.xml.units.Colors
-
public final class Colors extends Object
Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Jul 23, 2015
- Author:
- Alexander Verbraeck
-
-
Method Detail
-
parseColor
public static Color parseColor(String colorStr) throws NetworkException
- Parameters:
colorStr
- String; the color as a string.- Returns:
- the color.
- Throws:
NetworkException
- in case of unknown model.
-
-