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 |
---|---|
TextAlignment |
TextProperties.getTextAlignment() |
protected TextAlignment |
TextAnimation.getTextAlignment()
Retrieve the text alignment.
|
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(Locatable source,
String text,
float dx,
float dy,
TextAlignment textAlignment,
Color color,
float fontSize,
float minFontSize,
float maxFontSize,
SimulatorInterface.TimeDoubleUnit simulator) |
TextAnimation(Locatable source,
String text,
float dx,
float dy,
TextAlignment textAlignment,
Color color,
SimulatorInterface.TimeDoubleUnit simulator) |
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(Locatable source,
String text,
float dx,
float dy,
TextAlignment textAlignment,
Color color,
SimulatorInterface.TimeDoubleUnit simulator) |
Constructor and Description |
---|
Text(Locatable source,
String text,
float dx,
float dy,
TextAlignment textPlacement,
Color color,
SimulatorInterface.TimeDoubleUnit simulator) |
Text(Locatable source,
String text,
float dx,
float dy,
TextAlignment textPlacement,
Color color,
SimulatorInterface.TimeDoubleUnit simulator) |
Constructor and Description |
---|
Text(Locatable source,
String text,
float dx,
float dy,
TextAlignment textPlacement,
Color color,
SimulatorInterface.TimeDoubleUnit simulator) |
Text(Locatable source,
String text,
float dx,
float dy,
TextAlignment textPlacement,
Color color,
SimulatorInterface.TimeDoubleUnit simulator) |
Text(Locatable source,
String text,
float dx,
float dy,
TextAlignment textPlacement,
Color color,
SimulatorInterface.TimeDoubleUnit simulator) |
Text(Locatable source,
String text,
float dx,
float dy,
TextAlignment textPlacement,
Color color,
SimulatorInterface.TimeDoubleUnit simulator) |
Copyright © 2014–2019 Delft University of Technology. All rights reserved.