Package org.opentrafficsim.draw.road
Interface TrafficLightAnimation.TrafficLightData
- All Superinterfaces:
AbstractLineAnimation.LaneBasedObjectData
,ClickableLineLocatable
,ClickableLocatable
,org.djutils.base.Identifiable
,nl.tudelft.simulation.dsol.animation.Locatable
,org.opentrafficsim.base.geometry.OtsLocatable
,org.opentrafficsim.base.geometry.SpatialObject
- Enclosing class:
- TrafficLightAnimation
public static interface TrafficLightAnimation.TrafficLightData
extends AbstractLineAnimation.LaneBasedObjectData
TrafficLightData provides the information required to draw a traffic light.
Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Wouter Schakel
-
Field Summary
Fields inherited from interface org.opentrafficsim.draw.ClickableLocatable
EXPANSE
-
Method Summary
Methods inherited from interface org.opentrafficsim.draw.road.AbstractLineAnimation.LaneBasedObjectData
getLaneWidth, getLocation, getZ
Methods inherited from interface org.opentrafficsim.draw.ClickableLineLocatable
getBounds, getLine
Methods inherited from interface org.djutils.base.Identifiable
getId
Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable
getDirZ
Methods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable
getShape
Methods inherited from interface org.opentrafficsim.base.geometry.SpatialObject
getContour
-
Method Details
-
getColor
Color getColor()Returns the traffic light color.- Returns:
- traffic light color.
-