| Package | Description |
|---|---|
| org.opentrafficsim.draw.core |
Generic animation classes, i.e., for displaying texts.
|
| org.opentrafficsim.draw.network |
Animation for Links, Lanes, Nodes.
|
| Modifier and Type | Field and Description |
|---|---|
static TextAnimation.ScaleDependentRendering |
TextAnimation.RENDERALWAYS
Always render the Text.
|
static TextAnimation.ScaleDependentRendering |
TextAnimation.RENDERWHEN1
Don't render texts when smaller than 1.
|
static TextAnimation.ScaleDependentRendering |
TextAnimation.RENDERWHEN10
Don't render texts when smaller than 2.
|
static TextAnimation.ScaleDependentRendering |
TextAnimation.RENDERWHEN100
Don't render texts when smaller than 2.
|
| Modifier and Type | Method and Description |
|---|---|
protected TextAnimation.ScaleDependentRendering |
TextAnimation.getScaleDependentRendering()
Retrieve the scale dependent rendering qualifier (used in cloning).
|
| Constructor and Description |
|---|
TextAnimation(nl.tudelft.simulation.dsol.animation.Locatable source,
String text,
float dx,
float dy,
TextAlignment textAlignment,
Color color,
float fontSize,
float minFontSize,
float maxFontSize,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface.TimeDoubleUnit simulator,
TextAnimation.ContrastToBackground background,
TextAnimation.ScaleDependentRendering scaleDependentRendering)
Construct a new TextAnimation.
|
TextAnimation(nl.tudelft.simulation.dsol.animation.Locatable source,
String text,
float dx,
float dy,
TextAlignment textAlignment,
Color color,
float fontSize,
float minFontSize,
float maxFontSize,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface.TimeDoubleUnit simulator,
TextAnimation.ScaleDependentRendering scaleDependentRendering)
Construct a new TextAnimation without contrast to background protection and no minimum font scale.
|
TextAnimation(nl.tudelft.simulation.dsol.animation.Locatable source,
String text,
float dx,
float dy,
TextAlignment textAlignment,
Color color,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface.TimeDoubleUnit simulator,
TextAnimation.ScaleDependentRendering scaleDependentRendering) |
| Constructor and Description |
|---|
Text(nl.tudelft.simulation.dsol.animation.Locatable source,
String text,
float dx,
float dy,
TextAlignment textPlacement,
Color color,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface.TimeDoubleUnit simulator,
TextAnimation.ScaleDependentRendering scaleDependentRendering) |
Text(nl.tudelft.simulation.dsol.animation.Locatable source,
String text,
float dx,
float dy,
TextAlignment textPlacement,
Color color,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface.TimeDoubleUnit simulator,
TextAnimation.ScaleDependentRendering scaleDependentRendering) |
Copyright © 2014–2019 Delft University of Technology. All rights reserved.