Interface IFontManager

  • All Known Implementing Classes:
    AbstractFontManager, AWTFontManager

    public interface IFontManager
    An interface for managing the drawing of fonts at different zoom levels.
    Author:
    maclean
    Source code:
    main
    Belongs to CDK module:
    render
    • Method Detail

      • setFontForZoom

        void setFontForZoom​(double zoom)
        For a particular zoom level, set the appropriate font size to use.
        Parameters:
        zoom - a real number in the range (0.0, INF)
      • setFontName

        void setFontName​(String fontName)
        Set the font name ('Arial', 'Times New Roman') and so on.
        Parameters:
        fontName - name of the font to use