1
|
1 package de.mpg.mpiwg.itgroup.digilib.digiImage;
|
|
2
|
|
3 public class DigiImageParameter {
|
|
4
|
|
5 private String fn;
|
|
6
|
|
7 private int pn=1;
|
|
8
|
|
9 private int dw=-1;
|
|
10 private int dh=-1;
|
|
11
|
|
12 private float wx=0;
|
|
13 private float wy=0;
|
|
14
|
|
15 private float ww=1;
|
|
16 private float wh=1;
|
|
17 private float ws=1;
|
|
18
|
|
19 private String mo="fit";
|
|
20
|
|
21 private float cont=0;
|
|
22 private float brgt=0;
|
|
23
|
|
24 private float rot=0;
|
|
25
|
|
26 private String rgbm="0/0/0";
|
|
27 private String rgba="0/0/0";
|
|
28
|
|
29 private int ddpi=-1;
|
|
30 private int ddpix=-1;
|
|
31 private int ddpiy=-1;
|
|
32
|
|
33 public DigiImageParameter(String fn){
|
|
34 this.fn = fn;
|
|
35 }
|
|
36 public String getFn() {
|
|
37 return fn;
|
|
38 }
|
|
39 public void setFn(String fn) {
|
|
40 this.fn = fn;
|
|
41 }
|
|
42 public int getPn() {
|
|
43 return pn;
|
|
44 }
|
|
45 public void setPn(int pn) {
|
|
46 this.pn = pn;
|
|
47 }
|
|
48 public int getDw() {
|
|
49 return dw;
|
|
50 }
|
|
51 public void setDw(int dw) {
|
|
52 this.dw = dw;
|
|
53 }
|
|
54 public int getDh() {
|
|
55 return dh;
|
|
56 }
|
|
57 public void setDh(int dh) {
|
|
58 this.dh = dh;
|
|
59 }
|
|
60 public float getWx() {
|
|
61 return wx;
|
|
62 }
|
|
63 public void setWx(float wx) {
|
|
64 this.wx = wx;
|
|
65 }
|
|
66 public float getWy() {
|
|
67 return wy;
|
|
68 }
|
|
69 public void setWy(float wy) {
|
|
70 this.wy = wy;
|
|
71 }
|
|
72 public float getWw() {
|
|
73 return ww;
|
|
74 }
|
|
75 public void setWw(float ww) {
|
|
76 this.ww = ww;
|
|
77 }
|
|
78 public float getWh() {
|
|
79 return wh;
|
|
80 }
|
|
81 public void setWh(float wh) {
|
|
82 this.wh = wh;
|
|
83 }
|
|
84 public float getWs() {
|
|
85 return ws;
|
|
86 }
|
|
87 public void setWs(float ws) {
|
|
88 this.ws = ws;
|
|
89 }
|
|
90 public String getMo() {
|
|
91 return mo;
|
|
92 }
|
|
93 public void setMo(String mo) {
|
|
94 this.mo = mo;
|
|
95 }
|
|
96 public float getCont() {
|
|
97 return cont;
|
|
98 }
|
|
99 public void setCont(float cont) {
|
|
100 this.cont = cont;
|
|
101 }
|
|
102 public float getBrgt() {
|
|
103 return brgt;
|
|
104 }
|
|
105 public void setBrgt(float brgt) {
|
|
106 this.brgt = brgt;
|
|
107 }
|
|
108 public float getRot() {
|
|
109 return rot;
|
|
110 }
|
|
111 public void setRot(float rot) {
|
|
112 this.rot = rot;
|
|
113 }
|
|
114 public String getRgbm() {
|
|
115 return rgbm;
|
|
116 }
|
|
117 public void setRgbm(String rgbm) {
|
|
118 this.rgbm = rgbm;
|
|
119 }
|
|
120 public String getRgba() {
|
|
121 return rgba;
|
|
122 }
|
|
123 public void setRgba(String rgba) {
|
|
124 this.rgba = rgba;
|
|
125 }
|
|
126 public int getDdpi() {
|
|
127 return ddpi;
|
|
128 }
|
|
129 public void setDdpi(int ddpi) {
|
|
130 this.ddpi = ddpi;
|
|
131 }
|
|
132 public int getDdpix() {
|
|
133 return ddpix;
|
|
134 }
|
|
135 public void setDdpix(int ddpix) {
|
|
136 this.ddpix = ddpix;
|
|
137 }
|
|
138 public int getDdpiy() {
|
|
139 return ddpiy;
|
|
140 }
|
|
141 public void setDdpiy(int ddpiy) {
|
|
142 this.ddpiy = ddpiy;
|
|
143 }
|
|
144
|
|
145
|
|
146
|
|
147
|
|
148
|
|
149
|
|
150 }
|