package mishin870; import javax.microedition.lcdui.*; public class ImageUtils{ public ImageUtils(){ } public static Image getTiledLayerImage(Image[] imgs,int wid,int hei,int widNum){ if(widNum<=0){ return null; } int len = imgs.length; int widTL = widNum; int heiTL = len/widTL; int width = widTL*wid; int height = heiTL*hei; Image ret = getAlphaMutableImage(width,height); Graphics g = ret.getGraphics(); for(int x=0;x-1){ if(x0-1){ if(y0