Interface TrafficLightAnimation.TrafficLightData
- All Superinterfaces:
AbstractLineAnimation.LaneBasedObjectData,Identifiable,LineLocatable,Locatable,OtsShape
- Enclosing class:
- TrafficLightAnimation
public static interface TrafficLightAnimation.TrafficLightData
extends AbstractLineAnimation.LaneBasedObjectData
TrafficLightData provides the information required to draw a traffic light.
-
Field Summary
Fields inherited from interface org.opentrafficsim.base.geometry.OtsShape
DEFAULT_POLYGON_SEGMENTS, WORLD_MARGIN_LINE -
Method Summary
Methods inherited from interface org.opentrafficsim.animation.road.AbstractLineAnimation.LaneBasedObjectData
getLaneWidth, getLocation, getZMethods inherited from interface org.djutils.base.Identifiable
getIdMethods inherited from interface org.opentrafficsim.animation.LineLocatable
contains, getLine, signedDistanceMethods inherited from interface org.opentrafficsim.base.geometry.OtsShape
contains, getAbsoluteBounds, getAbsoluteContour, getAbsoluteContour, getDirZ, getRelativeBounds, getRelativeContour, signedDistance
-
Method Details
-
getColor
Color getColor()Returns the traffic light color.- Returns:
- traffic light color
-