ImageWatermark.java
1.41 KB
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
/*
* Decompiled with CFR 0_118.
*/
package com.day.cq.dam.commons.watermark;
import com.day.cq.dam.commons.watermark.Location;
import com.day.cq.dam.commons.watermark.Watermark;
import java.awt.image.BufferedImage;
public class ImageWatermark
extends Watermark {
BufferedImage image;
public ImageWatermark() {
}
public ImageWatermark(BufferedImage image) {
this.image = image;
}
public ImageWatermark(int top, int left, double orientation, float opacity, BufferedImage image) {
super(top, left, orientation, opacity);
this.image = image;
}
public ImageWatermark(Location position, BufferedImage image) {
super(position);
this.image = image;
}
public ImageWatermark(int top, int left, BufferedImage image) {
super(top, left);
this.image = image;
}
public ImageWatermark(Location position, double orientation, float opacity) {
super(position, orientation, opacity);
}
public ImageWatermark(int top, int left, double orientation, float opacity) {
super(top, left, orientation, opacity);
}
public ImageWatermark(Location position) {
super(position);
}
public ImageWatermark(int top, int left) {
super(top, left);
}
public BufferedImage getImage() {
return this.image;
}
public void setImage(BufferedImage image) {
this.image = image;
}
}