forked from tabulapdf/tabula-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPageDims.java
More file actions
35 lines (28 loc) · 788 Bytes
/
PageDims.java
File metadata and controls
35 lines (28 loc) · 788 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
package technology.tabula;
public class PageDims {
private final float top;
private final float left;
private final float width;
private final float height;
private PageDims(final float top, final float left, final float width, final float height) {
this.top = top;
this.left = left;
this.width = width;
this.height = height;
}
public static PageDims of(final float top, final float left, final float width, final float height) {
return new PageDims(top, left, width, height);
}
public float getTop() {
return top;
}
public float getLeft() {
return left;
}
public float getWidth() {
return width;
}
public float getHeight() {
return height;
}
}