Uses of Class
org.opentrafficsim.draw.core.TextAlignment
-
Packages that use TextAlignment 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. -
-
Uses of TextAlignment in org.opentrafficsim.draw.core
Methods in org.opentrafficsim.draw.core that return TextAlignment Modifier and Type Method 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.Constructors in org.opentrafficsim.draw.core with parameters of type TextAlignment Constructor Description TextAnimation(Locatable source, String text, float dx, float dy, TextAlignment textAlignment, Color color, float fontSize, float minFontSize, float maxFontSize, SimulatorInterface.TimeDoubleUnit simulator, TextAnimation.ContrastToBackground background, TextAnimation.ScaleDependentRendering scaleDependentRendering)
Construct a new TextAnimation.TextAnimation(Locatable source, String text, float dx, float dy, TextAlignment textAlignment, Color color, float fontSize, float minFontSize, float maxFontSize, SimulatorInterface.TimeDoubleUnit simulator, TextAnimation.ScaleDependentRendering scaleDependentRendering)
Construct a new TextAnimation without contrast to background protection and no minimum font scale.TextAnimation(Locatable source, String text, float dx, float dy, TextAlignment textAlignment, Color color, 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. -
Uses of TextAlignment in org.opentrafficsim.draw.gtu
Constructors in org.opentrafficsim.draw.gtu with parameters of type TextAlignment Constructor Description Text(Locatable source, String text, float dx, float dy, TextAlignment textAlignment, Color color, SimulatorInterface.TimeDoubleUnit simulator)
Text(Locatable source, String text, float dx, float dy, TextAlignment textAlignment, Color color, SimulatorInterface.TimeDoubleUnit simulator, TextAnimation.ContrastToBackground background)
-
Uses of TextAlignment in org.opentrafficsim.draw.network
Constructors in org.opentrafficsim.draw.network with parameters of type TextAlignment Constructor Description Text(Locatable source, String text, float dx, float dy, TextAlignment textPlacement, Color color, SimulatorInterface.TimeDoubleUnit simulator, TextAnimation.ScaleDependentRendering scaleDependentRendering)
Text(Locatable source, String text, float dx, float dy, TextAlignment textPlacement, Color color, SimulatorInterface.TimeDoubleUnit simulator, TextAnimation.ScaleDependentRendering scaleDependentRendering)
-
Uses of TextAlignment in org.opentrafficsim.draw.road
Constructors in org.opentrafficsim.draw.road with parameters of type TextAlignment Constructor 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)
-