Class LaneAnimation.CenterLineAnimation

java.lang.Object
nl.tudelft.simulation.dsol.animation.d2.Renderable2d<L>
org.opentrafficsim.draw.OtsRenderable<LaneAnimation.CenterLine>
org.opentrafficsim.draw.road.LaneAnimation.CenterLineAnimation
All Implemented Interfaces:
nl.tudelft.simulation.dsol.animation.d2.Renderable2dInterface<LaneAnimation.CenterLine>
Enclosing class:
LaneAnimation

public static class LaneAnimation.CenterLineAnimation extends OtsRenderable<LaneAnimation.CenterLine>
Animation for center line of a lane.
  • Field Summary

    Fields inherited from interface nl.tudelft.simulation.dsol.animation.d2.Renderable2dInterface

    ANIMATION_OBJECT_COUNTER, FLIP_FLAG, ROTATE_FLAG, SCALE_FLAG, SCALE_OBJECT_FLAG, SCALE_Y_FLAG, TRANSLATE_FLAG
  • Constructor Summary

    Constructors
    Constructor
    Description
    CenterLineAnimation(LaneAnimation.CenterLine centerLine, nl.tudelft.simulation.naming.context.Contextualized contextualized)
    Construct a new CenterLineAnimation.
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    paint(Graphics2D graphics, ImageObserver observer)
     

    Methods inherited from class org.opentrafficsim.draw.OtsRenderable

    contains, contains, resetRendering, setRendering

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

    bind2Context, contains, 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

    • CenterLineAnimation

      public CenterLineAnimation(LaneAnimation.CenterLine centerLine, nl.tudelft.simulation.naming.context.Contextualized contextualized)
      Construct a new CenterLineAnimation.
      Parameters:
      centerLine - the center line of a lane
      contextualized - context provider
  • Method Details