`
7090
  • 浏览: 274057 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

j2me font.substringWidth跟drawSubstring方法

    博客分类:
  • J2me
 
阅读更多
substringWidth(String str,int offset,int len)
str 需要计算的字符串 offest 从第几个字符开始 len 长度是多少
drawSubstring(String str, int offset, int len, int x, int y, int anchor)
str 需要绘制的字符串 offest 从第几个字符开始 len 长度是多少
x x坐标 y y坐标 anchor 锚点

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics