Class FontUtils

java.lang.Object
com.inet.html.utils.FontUtils

public class FontUtils extends Object
Font utilities class
  • Constructor Details

    • FontUtils

      public FontUtils()
  • Method Details

    • getFontFor

      public static Font getFontFor(String characters, int style, float size)
      Searches for a font, which is able to display the complete string
      Parameters:
      characters - the string to display
      style - the style for the new Font
      size - the size for the new Font
      Returns:
      a font, which can display the string or null, if none was found