public class Fonts extends Object
public static Font random(int style, int size)
style
- 字体样式 支持:Font.PLAIN Font.BOLD Font.ITALICsize
- 字体大小public static Font get(String name, int style, int size)
name
- 字体名称style
- 字体样式 支持:Font.PLAIN Font.BOLD Font.ITALICsize
- 字体大小public static boolean exist(String name)
name
- 字体名称Copyright © 2017. All rights reserved.