onbon.bx06.utils
类 FontUtils
java.lang.Object
onbon.bx06.utils.FontUtils
public class FontUtils
- extends Object
|
方法摘要 |
static Font |
create(String fontName,
int fontStyle,
int screenHeight)
尋找最適配字型。 |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FontUtils
public FontUtils()
create
public static Font create(String fontName,
int fontStyle,
int screenHeight)
- 尋找最適配字型。
- 参数:
fontName - 字型名稱。fontStyle - 字型樣式。screenHeight - 屏幕高度。
- 返回:
- 最適配字型。最小字體大小為 5。
Copyright © 2018 onbon. All rights reserved.