public class Cropper extends Object implements Preprocessor
| 构造器和说明 |
|---|
Cropper(int left,
int right,
int top,
int bottom)
Construct a Crop
|
public Cropper(int left,
int right,
int top,
int bottom)
left - minimum x-coordinate of bounding box of the area to be keptright - maximum x-coordinate of bounding box of the area to be kepttop - minimum y-coordinate of bounding box of the area to be keptbottom - maximum y-coordinate of bounding box of the area to be keptpublic BufferedImage apply(BufferedImage image, boolean inplace)
apply 在接口中 Preprocessorimage - input imageinplace - attempt to reuse input image or notCopyright © 2019. All rights reserved.