Package org.opentrafficsim.draw.core
Interface TextAnimation.ScaleDependentRendering
- Enclosing class:
- TextAnimation
public static interface TextAnimation.ScaleDependentRendering
Determine if a Feature object should be rendered.
-
Method Summary
Modifier and Type Method Description boolean
isRendered(double scale)
Determine if a Text should be rendered, depending on the scale.
-
Method Details
-
isRendered
boolean isRendered(double scale)Determine if a Text should be rendered, depending on the scale.- Parameters:
scale
- double; the current font scale- Returns:
- boolean; true if the text should be rendered at the scale; false if the text should not be rendered at the scale
-