TrafficOnRouteColors constructor
- Color slow,
- Color stationary,
- Color blocking
Creates a new instance.
slowColor used for visualization of the traffic with jam factor in range [4, 8).stationaryColor used for visualization of the traffic with jam factor in range [8, 10).blockingColor used for visualization of the traffic with jam factor 10.
Implementation
TrafficOnRouteColors(this.slow, this.stationary, this.blocking);