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 TextAlignmentRenderableTextSource.getTextAlignment()Retrieve the text alignment.final TextAlignmentTextProperties.getTextAlignment()Returns text alignment.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 TextAlignmentModifierConstructorDescriptionRenderableTextSource(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, RenderableTextSource.ContrastToBackground background, RenderableTextSource.ScaleDependentRendering scaleDependentRendering) Construct a new TextAnimation.RenderableTextSource(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, RenderableTextSource.ScaleDependentRendering scaleDependentRendering) Construct a new TextAnimation without contrast to background protection and no minimum font scale.RenderableTextSource(L source, Supplier<String> text, float dx, float dy, TextAlignment textAlignment, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized, RenderableTextSource.ScaleDependentRendering scaleDependentRendering) Constructor.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) Constructor.Text(DefaultCarAnimation.GtuData source, Supplier<String> text, float dx, float dy, TextAlignment textAlignment, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized, RenderableTextSource.ContrastToBackground background) Constructor. -
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, RenderableTextSource.ScaleDependentRendering scaleDependentRendering) Constructor.Text(NodeAnimation.NodeData source, Supplier<String> text, float dx, float dy, TextAlignment textPlacement, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized, RenderableTextSource.ScaleDependentRendering scaleDependentRendering) Constructor. -
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) Constructor.Text(LaneAnimation.LaneData source, Supplier<String> text, float dx, float dy, TextAlignment textPlacement, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized) Constructor.Text(LaneDetectorAnimation.LaneDetectorData source, Supplier<String> text, float dx, float dy, TextAlignment textPlacement, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized) Constructor.Text(TrafficLightAnimation.TrafficLightData source, Supplier<String> text, float dx, float dy, TextAlignment textPlacement, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized) Constructor.Text(TrafficLightDetectorAnimation.TrafficLightDetectorData source, Supplier<String> text, float dx, float dy, TextAlignment textPlacement, Color color, nl.tudelft.simulation.naming.context.Contextualized contextualized) Constructor.