[]
        
立即试用
(Showing Draft Content)

IFontProvider

Interface IFontProvider


public interface IFontProvider
提供字体提供者。
  • Method Summary

    Modifier and Type
    Method
    Description
    getFont(String fontFilePath)
    返回对应字体文件路径的字体流。在使用完毕后,字体流将被关闭。
    返回在使用自动适配、PDF导出和图像导出时将使用的字体文件路径。
  • Method Details

    • getFontFilePaths

      List<String> getFontFilePaths()
      返回在使用自动适配、PDF导出和图像导出时将使用的字体文件路径。
    • getFont

      InputStream getFont(String fontFilePath)
      返回对应字体文件路径的字体流。在使用完毕后,字体流将被关闭。