public abstract class FontProvider extends Object
| 构造器和说明 |
|---|
FontProvider() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract String |
addFont(File file)
Adds a font to the list of available fonts.
|
abstract String |
addFont(InputStream inputStream,
String tempName,
FontType type)
Adds a font to the list of available fonts.
|
abstract List<? extends FontInfo> |
getFontInfo()
Returns a list of information about fonts on the system.
|
abstract String |
toDebugString()
Returns a string containing debugging information.
|
public abstract String addFont(File file)
file - the font filepublic abstract String addFont(InputStream inputStream, String tempName, FontType type)
inputStream - the font file input streamtempName - the font temp nametype - the font typepublic abstract String toDebugString()
Copyright © 2024. All rights reserved.