lmw
2023-06-07 f9dd2cdac746d308d5c4bcfdbea389ab67a66b12
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
package com.yalantis.ucrop.model;
 
import android.graphics.RectF;
 
/**
 * Created by Oleksii Shliama [https://github.com/shliama] on 6/21/16.
 */
public class ImageState {
 
    private RectF mCropRect;
    private RectF mCurrentImageRect;
 
    private float mCurrentScale, mCurrentAngle;
 
    public ImageState(RectF cropRect, RectF currentImageRect, float currentScale, float currentAngle) {
        mCropRect = cropRect;
        mCurrentImageRect = currentImageRect;
        mCurrentScale = currentScale;
        mCurrentAngle = currentAngle;
    }
 
    public RectF getCropRect() {
        return mCropRect;
    }
 
    public RectF getCurrentImageRect() {
        return mCurrentImageRect;
    }
 
    public float getCurrentScale() {
        return mCurrentScale;
    }
 
    public float getCurrentAngle() {
        return mCurrentAngle;
    }
}