正在加载图片...
字型的设置 例 g drawString(“ This is a test”’,5,10); 获取字体的属性 Font font=g. getFonto O Font类中常用的方法 GetFamilyo getNameo getsize getstyleo italico is Plain is Boldo toString JAVA字型的设置 例: g.drawString(“This is a test”,5,10); 获取字体的属性 Font font=g.getFont(); Font类中常用的方法 GetFamily() getName() getSize() getStyle() isItalic() isPlain() isBold() toString()
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有