Class SpeedSignAnimation

java.lang.Object
nl.tudelft.simulation.dsol.animation.d2.Renderable2d<L>
org.opentrafficsim.draw.OtsRenderable<org.opentrafficsim.road.network.lane.object.SpeedSign>
org.opentrafficsim.demo.doc.tutorials.SpeedSignAnimation
All Implemented Interfaces:
Serializable, nl.tudelft.simulation.dsol.animation.d2.Renderable2dInterface<org.opentrafficsim.road.network.lane.object.SpeedSign>

public class SpeedSignAnimation extends org.opentrafficsim.draw.OtsRenderable<org.opentrafficsim.road.network.lane.object.SpeedSign>
This class contains code snippets that are used in the documentation. Whenever errors arise in this code, they need to be fixed -and- the code in the documentation needs to be updated.

Copyright (c) 2024-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
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpeedSignAnimation(org.opentrafficsim.road.network.lane.object.SpeedSign source, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
     

    Methods inherited from class org.opentrafficsim.draw.OtsRenderable

    contains, resetRendering, setRendering

    Methods inherited from class nl.tudelft.simulation.dsol.animation.d2.Renderable2d

    bind2Context, destroy, getId, getSource, isFlip, isRotate, isScale, isScaleObject, isScaleY, isTranslate, paint, paintComponent, setFlip, setRotate, setScale, setScaleObject, setScaleY, setTranslate, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SpeedSignAnimation

      public SpeedSignAnimation(org.opentrafficsim.road.network.lane.object.SpeedSign source, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator)
  • Method Details

    • paint

      public final void paint(Graphics2D g, ImageObserver arg1)
      Specified by:
      paint in class nl.tudelft.simulation.dsol.animation.d2.Renderable2d<org.opentrafficsim.road.network.lane.object.SpeedSign>