软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
Modifier and Type | Method and Description |
---|---|
static Font |
Font.createFont(int fontFormat, File fontFile)
返回使用指定的字体类型和指定的字体文件的新
Font 。
|
static Font |
Font.createFont(int fontFormat, InputStream fontStream)
返回使用指定的字体和输入数据的新
Font 。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.