7、Y轴位置;public void setTile(int tileindex, int x, int y){ mTileGrid[x][y]=tileindex;}3.把图片素材加入到bitmap中publicvoidloadTile(intkey,Drawabletile){Bitmapbitmap=Bitmap.createBitmap(mTileSize,mTileSize,Bitmap.Config.ARGB_8888);Canvascanvas=newCanvas(bitmap);tile.setBounds(0,0,mTileSize,mTileS