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