// From an Image image = createImage(new FilteredImageSource(image.getSource(), new CropImageFilter(x, y, w, h))); // From a BufferedImage bufferedImage = bufferedImage.getSubimage(x, y, w, h);
Related Examples |
原文地址:https://www.cnblogs.com/borter/p/9575508.html
时间: 2024-10-09 22:55:28