Package org.opentrafficsim.animation
package org.opentrafficsim.animation
Generic animation classes, i.e., for displaying texts.
Copyright (c) 2013-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
ClassDescriptionPaint scale interpolating between colors at values.Interpolate between two color values.Paint scale that forces the output to be a color.List of colors to use for various legends.Z-level for use in
Locatable.getZ()implementations.This class returns a line that represent the object.OtsRenderable<L extends OtsShape>ExtendsRenderable2dto let thecontainsmethod look at the actual bounds shape, rather than only the box.Renderable with label.OtsRenderableLabeled.NoText<L extends OtsShape>Convenience class to use when the renderable wants to omit having a label.Paint a line as a Path2D.DoublePaint a (series of) filled polygon(s) defined as a Path2D.DoubleDisplay a text for another Locatable object.Interface to obtain the color of the background.Determine if a Feature object should be rendered.Location of the text in the explanation.Properties for text to identify animated objects in OTS.Weight of the text font in the explanation.Width of the text font in the explanation.