Interface RenderableTextSource.ScaleDependentRendering

Enclosing class:
RenderableTextSource<L extends OtsShape,T extends RenderableTextSource<L,T>>

public static interface RenderableTextSource.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 - the current font scale
      Returns:
      true if the text should be rendered at the scale; false if the text should not be rendered at the scale