| Package | Description |
|---|---|
| org.opentrafficsim.draw.core |
Generic animation classes, i.e., for displaying texts.
|
| org.opentrafficsim.draw.gtu |
GTU animations.
|
| org.opentrafficsim.draw.network |
Animation for Links, Lanes, Nodes.
|
| org.opentrafficsim.draw.road |
Animation for Links, Lanes, Nodes.
|
| Modifier and Type | Method and Description |
|---|---|
protected TextAlignment |
TextAnimation.getTextAlignment()
Retrieve the text alignment.
|
TextAlignment |
TextProperties.getTextAlignment() |
static TextAlignment |
TextAlignment.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAlignment[] |
TextAlignment.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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) |
TextProperties(TextAlignment textAlignment,
Color color,
float fontSize)
Construct a set of text properties for animation with alignment, color and size.
|
TextProperties(TextAlignment textAlignment,
Color color,
float fontSize,
String font,
Map<TextAttribute,Object> textAttributes)
Construct a set of text properties for animation with alignment, color and size.
|
| Constructor and Description |
|---|
Text(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) |
Text(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.ContrastToBackground background) |
| 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) |
| 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) |
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) |
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) |
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) |
Copyright © 2014–2019 Delft University of Technology. All rights reserved.