类 Cropper

    • 构造器详细资料

      • Cropper

        public Cropper​(int left,
                       int right,
                       int top,
                       int bottom)
        Construct a Crop
        参数:
        left - minimum x-coordinate of bounding box of the area to be kept
        right - maximum x-coordinate of bounding box of the area to be kept
        top - minimum y-coordinate of bounding box of the area to be kept
        bottom - maximum y-coordinate of bounding box of the area to be kept
    • 方法详细资料

      • apply

        public BufferedImage apply​(BufferedImage image,
                                   boolean inplace)
        Perform preprocess operation
        指定者:
        apply 在接口中 Preprocessor
        参数:
        image - input image
        inplace - attempt to reuse input image or not
        返回:
        processed image