PortraitBean.java
827 Bytes
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
package com.cnlive.goldenline.model;
import android.graphics.Bitmap;
import android.graphics.Point;
/**
* Description:
* Created on 2017/3/14
* Author : 萧
*/
public class PortraitBean {
Bitmap bitmap;
Point point;
public PortraitBean() {
}
public PortraitBean(Bitmap bitmap, Point point) {
this.bitmap = bitmap;
this.point = point;
}
public Bitmap getBitmap() {
return bitmap;
}
public void setBitmap(Bitmap bitmap) {
this.bitmap = bitmap;
}
public Point getPoint() {
return point;
}
public void setPoint(Point point) {
this.point = point;
}
public void setPoint(int x, int y) {
if (point == null) {
point = new Point();
}
point.x = x;
point.y = y;
}
}