e672. 缩放,剪取,移动,翻转缓冲图像

 AffineTransform tx = new AffineTransform();
    tx.scale(scalex, scaley);
    tx.shear(shiftx, shifty);
    tx.translate(x, y);
    tx.rotate(radians, bufferedImage.getWidth()/2, bufferedImage.getHeight()/2);
    
    AffineTransformOp op = new AffineTransformOp(tx, AffineTransformOp.TYPE_BILINEAR);
    bufferedImage = op.filter(bufferedImage, null);

 

Related Examples

e672. 缩放,剪取,移动,翻转缓冲图像

上一篇:【Python + uiaotumator2】之Android—APP自动化简易例子


下一篇:规范git提交