Interface FontDrawPathProvider

All Known Implementing Classes:
TrueTypeFont
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FontDrawPathProvider
字形绘制路径提供器
Since:
2021-10-14 20:53:49
Author:
权观宇
  • Method Summary

    Modifier and Type
    Method
    Description
    getPath(int gid)
    通过字体索引号获取字形的绘制路径
  • Method Details

    • getPath

      GeneralPath getPath(int gid) throws IOException
      通过字体索引号获取字形的绘制路径
      Parameters:
      gid - 字形索引号
      Returns:
      绘制路径或null(找不到时)
      Throws:
      IOException - 解析异常