Uses of Enum Class
org.opentrafficsim.draw.TextAlignment
Packages that use TextAlignment
Package
Description
Generic animation classes, i.e., for displaying texts.
GTU animations.
Animation for Links, Lanes, Nodes.
Animation for Links, Lanes, Nodes.
-
Uses of TextAlignment in org.opentrafficsim.draw
Methods in org.opentrafficsim.draw that return TextAlignmentModifier and TypeMethodDescriptionprotected final TextAlignmentTextAnimation.getTextAlignment()Retrieve the text alignment.final TextAlignmentTextProperties.getTextAlignment()static TextAlignmentReturns the enum constant of this class with the specified name.static TextAlignment[]TextAlignment.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.opentrafficsim.draw with parameters of type TextAlignmentModifierConstructorDescriptionTextAnimation(L source, Supplier<String> text, float dx, float dy, TextAlignment textAlignment, Color color, float fontSize, float minFontSize, float maxFontSize, nl.tudelft.simulation.naming.context.Contextualized contextualized, TextAnimation.ContrastToBackground background, TextAnimation.ScaleDependentRendering scaleDependentRendering) Construct a new TextAnimation.TextAnimation(L source, Supplier<String> text, float dx, float dy, TextAlignment textAlignment, Color color, float fontSize, float minFontSize, float maxFontSize, nl.tudelft.simulation.naming.context.Contextualized contextualized, TextAnimation.ScaleDependentRendering scaleDependentRendering) Construct a new TextAnimation without contrast to background protection and no minimum font scale.TextAnimation(L source, Supplier<String> text, float dx, float dy, TextAlignment textAlignment, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized, 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 TextAlignmentModifierConstructorDescriptionText(DefaultCarAnimation.GtuData source, Supplier<String> text, float dx, float dy, TextAlignment textAlignment, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized) Text(DefaultCarAnimation.GtuData source, Supplier<String> text, float dx, float dy, TextAlignment textAlignment, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized, TextAnimation.ContrastToBackground background) -
Uses of TextAlignment in org.opentrafficsim.draw.network
Constructors in org.opentrafficsim.draw.network with parameters of type TextAlignmentModifierConstructorDescriptionText(LinkAnimation.LinkData source, Supplier<String> text, float dx, float dy, TextAlignment textPlacement, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized, TextAnimation.ScaleDependentRendering scaleDependentRendering) Text(NodeAnimation.NodeData source, Supplier<String> text, float dx, float dy, TextAlignment textPlacement, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized, TextAnimation.ScaleDependentRendering scaleDependentRendering) -
Uses of TextAlignment in org.opentrafficsim.draw.road
Constructors in org.opentrafficsim.draw.road with parameters of type TextAlignmentModifierConstructorDescriptionText(BusStopAnimation.BusStopData source, Supplier<String> text, float dx, float dy, TextAlignment textPlacement, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized) Text(LaneAnimation.LaneData source, Supplier<String> text, float dx, float dy, TextAlignment textPlacement, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized) Text(LaneDetectorAnimation.LaneDetectorData source, Supplier<String> text, float dx, float dy, TextAlignment textPlacement, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized) Text(TrafficLightAnimation.TrafficLightData source, Supplier<String> text, float dx, float dy, TextAlignment textPlacement, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized) Text(TrafficLightDetectorAnimation.TrafficLightDetectorData source, Supplier<String> text, float dx, float dy, TextAlignment textPlacement, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized)