summaryrefslogtreecommitdiff
path: root/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignatureDimension.java
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignatureDimension.java')
-rw-r--r--pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignatureDimension.java59
1 files changed, 59 insertions, 0 deletions
diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignatureDimension.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignatureDimension.java
new file mode 100644
index 00000000..133f4f74
--- /dev/null
+++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/SignatureDimension.java
@@ -0,0 +1,59 @@
+package at.asit.pdfover.pdfsignator;
+
+/**
+ * The Dimensions of the visible signature block
+ */
+public class SignatureDimension {
+
+ /**
+ * The visible Signature block width
+ */
+ protected int width;
+
+ /**
+ * The visible Signature block height
+ */
+ protected int height;
+
+ /**
+ * Sets the width for the dimension
+ * @param value
+ */
+ public void SetWidth(int value) {
+ this.width = value;
+ }
+
+ /**
+ * Constructor
+ * @param width The width of the signature block
+ * @param height The height of the signature block
+ */
+ public SignatureDimension(int width, int height) {
+ this.width = width;
+ this.height = height;
+ }
+
+ /**
+ * Gets the width of the visible Signature block
+ * @return
+ */
+ public int GetWidth() {
+ return this.width;
+ }
+
+ /**
+ * Sets the height for the dimension
+ * @param value
+ */
+ public void SetHeight(int value) {
+ this.height = value;
+ }
+
+ /**
+ * Gets the height of the visible Signature block
+ * @return
+ */
+ public int GetHeight() {
+ return this.height;
+ }
+}