J2ME中对层的应用(两个问题)
第一个:
Graphics g=get Graphics();
想问一下..如果我建了几个层的话.那这个方法默认会去获得哪个层来进行绘画?
第二个:
TiledLayer(int columns, int rows, Image image, int tileWidth, int tileHeight)
用来创建一个层时,再用
setCell(int col, int row, int tileIndex)
来对层上的格进行图片填充,tileIndex是image的帧的索引号.但是如果我想把很多张图片画在一个层上,并且拼接起来,能实现吗?
先谢谢各位高手的帮忙了..初学J2ME还有很多不懂的地方....