public class PositioningInstruction
extends java.lang.Object
This instruction is given to the PDF writer in order to place the signature.
Modifier and Type | Field and Description |
---|---|
protected boolean |
make_new_page
Tells, if a new plain page should be appended.
|
protected int |
page
The number of the page on which the signature block is to be placed.
|
protected float |
rotation
The rotation of the signature block
|
protected float |
x
The x coordinate where the upper left corner of the signature block should
be placed.
|
protected float |
y
The y coordinate where the upper left corner of the signature block should
be placed.
|
Constructor and Description |
---|
PositioningInstruction(boolean make_new_page,
int page,
float x,
float y,
float rotation) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getPage()
Returns the page on which the signature is to be printed.
|
float |
getRotation() |
float |
getX()
Returns the x coordinate where the upper left corner of the signature block
should be placed.
|
float |
getY()
Returns the y coordinate where the upper left corner of the signature block
should be placed.
|
int |
hashCode() |
boolean |
isMakeNewPage()
Tells, if a new plain page should be appended to the document.
|
java.lang.String |
toString() |
protected boolean make_new_page
This command is executed before the signature block is positioned according to page, x and y.
protected int page
protected float x
protected float y
protected float rotation
public PositioningInstruction(boolean make_new_page, int page, float x, float y, float rotation)
make_new_page
- Tells, if a new plain page should be appended. This command is
executed before the signature block is positioned according to
page, x and y.page
- The number of the page on which the signature block is to be
placed. If specified to make a new page, the number of this newly
created page can be used here as well.x
- The x coordinate where the upper left corner of the signature
block should be placed.y
- The y coordinate where the upper left corner of the signature
block should be placed.public boolean isMakeNewPage()
public int getPage()
public float getX()
public float getY()
public float getRotation()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object