Class HighlightAnnotation
java.lang.Object
nl.tudelft.simulation.dsol.animation.d2.Renderable2d<L>
org.opentrafficsim.animation.OtsRenderable<L>
org.opentrafficsim.editor.extensions.map.edit.MapAnnotation<SelectionAnnotation.ZAdjustedMapData>
org.opentrafficsim.editor.extensions.map.edit.SelectionAnnotation
org.opentrafficsim.editor.extensions.map.edit.HighlightAnnotation
- All Implemented Interfaces:
nl.tudelft.simulation.dsol.animation.d2.Renderable2dInterface<SelectionAnnotation.ZAdjustedMapData>
Highlights map data.
Copyright (c) 2026-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Wouter Schakel
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opentrafficsim.editor.extensions.map.edit.SelectionAnnotation
SelectionAnnotation.ZAdjustedMapData -
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 -
Method Summary
Methods inherited from class org.opentrafficsim.editor.extensions.map.edit.SelectionAnnotation
paintMethods inherited from class org.opentrafficsim.editor.extensions.map.edit.MapAnnotation
getMap, px, pxMethods inherited from class org.opentrafficsim.animation.OtsRenderable
contains, contains, isDynamic, resetRendering, setDynamic, setRenderingMethods 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
-
Constructor Details
-
HighlightAnnotation
Constructor.- Parameters:
source- sourcemap- map
-
-
Method Details
-
getColor
Returns the color.- Overrides:
getColorin classSelectionAnnotation- Returns:
- color
-