Uses of Interface
org.opentrafficsim.draw.TextAnimation.ScaleDependentRendering
Packages that use TextAnimation.ScaleDependentRendering
Package
Description
Generic animation classes, i.e., for displaying texts.
Animation for Links, Lanes, Nodes.
-
Uses of TextAnimation.ScaleDependentRendering in org.opentrafficsim.draw
Fields in org.opentrafficsim.draw declared as TextAnimation.ScaleDependentRenderingModifier and TypeFieldDescriptionstatic final TextAnimation.ScaleDependentRendering
TextAnimation.RENDERALWAYS
Always render the Text.static final TextAnimation.ScaleDependentRendering
TextAnimation.RENDERWHEN1
Don't render texts when smaller than 1.static final TextAnimation.ScaleDependentRendering
TextAnimation.RENDERWHEN10
Don't render texts when smaller than 2.static final TextAnimation.ScaleDependentRendering
TextAnimation.RENDERWHEN100
Don't render texts when smaller than 2.Methods in org.opentrafficsim.draw that return TextAnimation.ScaleDependentRenderingModifier and TypeMethodDescriptionprotected TextAnimation.ScaleDependentRendering
TextAnimation.getScaleDependentRendering()
Retrieve the scale dependent rendering qualifier (used in cloning).Constructors in org.opentrafficsim.draw with parameters of type TextAnimation.ScaleDependentRenderingModifierConstructorDescriptionTextAnimation
(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) -
Uses of TextAnimation.ScaleDependentRendering in org.opentrafficsim.draw.network
Constructors in org.opentrafficsim.draw.network with parameters of type TextAnimation.ScaleDependentRenderingModifierConstructorDescriptionText
(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)