lmw
2023-06-16 03972ad1d3ce6ffe0be0395c0a4d5dcb4474031f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package com.yalantis.ucrop.model;
 
import android.graphics.Bitmap;
import android.net.Uri;
 
/**
 * Created by Oleksii Shliama [https://github.com/shliama] on 6/21/16.
 */
public class CropParameters {
 
    private int mMaxResultImageSizeX, mMaxResultImageSizeY;
 
    private Bitmap.CompressFormat mCompressFormat;
    private int mCompressQuality;
    private Uri mImageInputUri;
    private String mImageOutputPath;
    private ExifInfo mExifInfo;
 
 
    public CropParameters(int maxResultImageSizeX, int maxResultImageSizeY,
                          Bitmap.CompressFormat compressFormat, int compressQuality,
                          Uri imageInputUri, String imageOutputPath, ExifInfo exifInfo) {
        mMaxResultImageSizeX = maxResultImageSizeX;
        mMaxResultImageSizeY = maxResultImageSizeY;
        mCompressFormat = compressFormat;
        mCompressQuality = compressQuality;
        mImageInputUri = imageInputUri;
        mImageOutputPath = imageOutputPath;
        mExifInfo = exifInfo;
    }
 
    public int getMaxResultImageSizeX() {
        return mMaxResultImageSizeX;
    }
 
    public int getMaxResultImageSizeY() {
        return mMaxResultImageSizeY;
    }
 
    public Bitmap.CompressFormat getCompressFormat() {
        return mCompressFormat;
    }
 
    public int getCompressQuality() {
        return mCompressQuality;
    }
 
    public Uri getImageInputUri() {
        return mImageInputUri;
    }
 
    public String getImageOutputPath() {
        return mImageOutputPath;
    }
 
    public ExifInfo getExifInfo() {
        return mExifInfo;
    }
 
}