Uses of Interface
org.opentrafficsim.draw.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
Modifier 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.Modifier and TypeMethodDescriptionprotected TextAnimation.ScaleDependentRendering
TextAnimation.getScaleDependentRendering()
Retrieve the scale dependent rendering qualifier (used in cloning).ModifierConstructorDescriptionTextAnimation
(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
ModifierConstructorDescriptionText
(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)