日期:2014-05-20 浏览次数:20695 次
??String strPath = "/comicsplash.png";
??
??try {
???memoryImage=Image.createImage(strPath);
??} catch (IOException e) {
???// TODO Auto-generated catch block
???e.printStackTrace();
??}
??
?? memoryImage = Image.createImage(320, 480);
?? //画笔设置
?? memoryGraphics = memoryImage.getGraphics();
?? memoryGraphics.setColor(0, 255, 255);
???????? //画出缓冲
?? memoryGraphics.drawImage(memoryImage,0,0,0);