- 263 名前:デフォルトの名無しさん mailto:sage [2007/04/06(金) 18:14:42 ]
- >>260
omote,uraのネーミング変じゃないかい?混乱したぞ。 Graphics2D g2=(Graphics2D) g; omote.drawImage(image[0],50,50,this); //AffineTransform at=new AffineTransform(); //at.rotate(90*Math.PI/150.0,150+18,150+18); //画像の中心を回転の中心に合わせる //g2.setTransform(at); AffineTransform at = ((Graphics2D)omote).getTransform(); ((Graphics2D)omote).rotate(90*Math.PI/150.0,150+18,150+18); omote.drawImage(image[0],150,150,this); ((Graphics2D)omote).setTransform(at); g.drawImage(ura,0,0,this);
|

|