日期:2014-05-20  浏览次数:20577 次

j2me font.substringWidth跟drawSubstring方法
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 锚点