开发者

How to draw in J2ME with float or double point?

I draw in J2ME with Canvas, but graphics 开发者_运维技巧support only integer. So how can I draw with float or double point ?


convert your points to relative integer. or, if your double points is 0<= points<1, then, get the screen size say, width and height, then x = xx * width and y = yy * height

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜