Helius
2020-12-17 f76c9c5beb39916771402de95f05be18f39a9db6
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
package com.matrix.component.tools;
 
/**
 * 图片合成对象
 * 
 * @author JIANGYOUYAO
 * @email 935090232@qq.com
 * @date 2018年7月19日
 */
public class ImageMerge {
    /**
     * 字符串类型
     */
    public static final int STR = 1;
    /**
     * 图片类型
     */
    public static final int IMG = 2;
    
    private String imgFormat;
 
    private int type;
 
    private int x;
 
    private int y;
 
    private String text;
 
    private int wordSpacing;
 
    private String color;
 
    private String fontFamily;
 
    private int fontSize;
 
    /**
     * 小图路径
     */
    private String smallPath;
 
    private int width;
 
    private int height;
 
    private float alpha;
 
    public int getType() {
        return type;
    }
 
    public void setType(int type) {
        this.type = type;
    }
 
    public int getX() {
        return x;
    }
 
    public void setX(int x) {
        this.x = x;
    }
 
    public int getY() {
        return y;
    }
 
    public void setY(int y) {
        this.y = y;
    }
 
    public String getText() {
        return text;
    }
 
    public void setText(String text) {
        this.text = text;
    }
 
    public int getWordSpacing() {
        return wordSpacing;
    }
 
    public void setWordSpacing(int wordSpacing) {
        this.wordSpacing = wordSpacing;
    }
 
    public String getColor() {
        return color;
    }
 
    public void setColor(String color) {
        this.color = color;
    }
 
    public String getFontFamily() {
        return fontFamily;
    }
 
    public void setFontFamily(String fontFamily) {
        this.fontFamily = fontFamily;
    }
 
    public int getFontSize() {
        return fontSize;
    }
 
    public void setFontSize(int fontSize) {
        this.fontSize = fontSize;
    }
 
    public String getSmallPath() {
        return smallPath;
    }
 
    public void setSmallPath(String smallPath) {
        this.smallPath = smallPath;
    }
 
 
    public int getWidth() {
        return width;
    }
 
    public void setWidth(int width) {
        this.width = width;
    }
 
    public int getHeight() {
        return height;
    }
 
    public void setHeight(int height) {
        this.height = height;
    }
 
    public float getAlpha() {
        return alpha;
    }
 
    public void setAlpha(float alpha) {
        this.alpha = alpha;
    }
 
    public static int getStr() {
        return STR;
    }
 
    public static int getImg() {
        return IMG;
    }
 
    public String getImgFormat() {
        return imgFormat;
    }
 
    public void setImgFormat(String imgFormat) {
        this.imgFormat = imgFormat;
    }
    
    
    
 
}