-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPieData.java
More file actions
55 lines (41 loc) · 946 Bytes
/
PieData.java
File metadata and controls
55 lines (41 loc) · 946 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
48
49
50
51
52
53
54
55
package com.example.administrator.customview;
/**
* Created by DoBest on 2016/4/15.
*/
public class PieData {
private String name;
private float value;
private float percentage;
private int color = 0;
private float angle = 0;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public float getValue() {
return value;
}
public void setValue(float value) {
this.value = value;
}
public float getPercentage() {
return percentage;
}
public void setPercentage(float percentage) {
this.percentage = percentage;
}
public int getColor() {
return color;
}
public void setColor(int color) {
this.color = color;
}
public float getAngle() {
return angle;
}
public void setAngle(float angle) {
this.angle = angle;
}
}