Package eu.europa.esig.dss.pdf.visible
Class SignatureFieldDimensionAndPosition
java.lang.Object
eu.europa.esig.dss.pdf.visible.SignatureFieldDimensionAndPosition
- All Implemented Interfaces:
VisualSignatureFieldAppearance
,Serializable
public class SignatureFieldDimensionAndPosition
extends Object
implements VisualSignatureFieldAppearance
Defines visual signature field appearance parameters
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with null parameters -
Method Summary
Modifier and TypeMethodDescriptionCreates anAnnotationBox
from the SignatureFieldBoxfloat
Gets height of the signature bounding boxfloat
Gets width of the signature bounding boxfloat
getBoxX()
Gets upper left X coordinate of the signature bounding boxfloat
getBoxY()
Gets upper left Y coordinate of the signature bounding boxint
Gets global signature field rotationfloat
Gets height of the image boundary boxfloat
Gets width of the image boundary boxfloat
Gets upper left X coordinate of the image boundary boxfloat
Gets upper left Y coordinate of the image boundary boxfloat
Gets height of the imageGets ImageResolutionfloat
Gets width of the imagefloat
Gets upper left X coordinate of the imagefloat
Gets upper left Y coordinate of the imagegetText()
Gets test stringfloat
Gets height of the text boundary boxfloat
Gets width of the text boundary boxfloat
Gets upper left X coordinate of the text boundary boxfloat
Gets upper left Y coordinate of the text boundary boxfloat
Gets height of the textfloat
Gets text sizefloat
Gets width of the textfloat
getTextX()
Gets upper left X coordinate of the textfloat
getTextY()
Gets upper left Y coordinate of the textvoid
setBoxHeight
(float boxHeight) Sets height of the signature bounding boxvoid
setBoxWidth
(float boxWidth) Sets width of the signature bounding boxvoid
setBoxX
(float boxX) Sets upper left X coordinate of the signature bounding boxvoid
setBoxY
(float boxY) Sets upper left Y coordinate of the signature bounding boxvoid
setGlobalRotation
(int globalRotation) Sets global signature field rotationvoid
setImageBoxHeight
(float imageBoxHeight) Sets height of the image boundary boxvoid
setImageBoxWidth
(float imageBoxWidth) Sets width of the image boundary boxvoid
setImageBoxX
(float imageBoxX) Sets upper left X coordinate of the image boundary boxvoid
setImageBoxY
(float imageBoxY) Sets upper left Y coordinate of the image boundary boxvoid
setImageHeight
(float imageHeight) Sets height of the imagevoid
setImageResolution
(ImageResolution imageResolution) Sets ImageResolutionvoid
setImageWidth
(float imageWidth) Sets width of the imagevoid
setImageX
(float imageX) Sets upper left X coordinate of the imagevoid
setImageY
(float imageY) Sets upper left Y coordinate of the imagevoid
Sets text stringvoid
setTextBoxHeight
(float textBoxHeight) Sets height of the text boundary boxvoid
setTextBoxWidth
(float textBoxWidth) Sets width of the text boundary boxvoid
setTextBoxX
(float textBoxX) Sets upper left X coordinate of the text boundary boxvoid
setTextBoxY
(float textBoxY) Sets upper left Y coordinate of the text boundary boxvoid
setTextHeight
(float textHeight) Sets height of the textvoid
setTextSize
(float textSize) Sets text sizevoid
setTextWidth
(float textWidth) Sets width of the textvoid
setTextX
(float textX) Sets upper left X coordinate of the textvoid
setTextY
(float textY) Sets upper left Y coordinate of the text
-
Constructor Details
-
SignatureFieldDimensionAndPosition
public SignatureFieldDimensionAndPosition()Default constructor instantiating object with null parameters
-
-
Method Details
-
getBoxX
public float getBoxX()Gets upper left X coordinate of the signature bounding box- Returns:
- upper left X coordinate
-
setBoxX
public void setBoxX(float boxX) Sets upper left X coordinate of the signature bounding box- Parameters:
boxX
- upper left X coordinate
-
getBoxY
public float getBoxY()Gets upper left Y coordinate of the signature bounding box- Returns:
- upper left Y coordinate
-
setBoxY
public void setBoxY(float boxY) Sets upper left Y coordinate of the signature bounding box- Parameters:
boxY
- upper left Y coordinate
-
getBoxWidth
public float getBoxWidth()Gets width of the signature bounding box- Returns:
- width
-
setBoxWidth
public void setBoxWidth(float boxWidth) Sets width of the signature bounding box- Parameters:
boxWidth
- width
-
getBoxHeight
public float getBoxHeight()Gets height of the signature bounding box- Returns:
- height
-
setBoxHeight
public void setBoxHeight(float boxHeight) Sets height of the signature bounding box- Parameters:
boxHeight
- height
-
getImageX
public float getImageX()Gets upper left X coordinate of the image- Returns:
- upper left X coordinate
-
setImageX
public void setImageX(float imageX) Sets upper left X coordinate of the image- Parameters:
imageX
- upper left X coordinate
-
getImageY
public float getImageY()Gets upper left Y coordinate of the image- Returns:
- upper left Y coordinate
-
setImageY
public void setImageY(float imageY) Sets upper left Y coordinate of the image- Parameters:
imageY
- upper left Y coordinate
-
getImageWidth
public float getImageWidth()Gets width of the image- Returns:
- width
-
setImageWidth
public void setImageWidth(float imageWidth) Sets width of the image- Parameters:
imageWidth
- width
-
getImageHeight
public float getImageHeight()Gets height of the image- Returns:
- height
-
setImageHeight
public void setImageHeight(float imageHeight) Sets height of the image- Parameters:
imageHeight
- height
-
getImageBoxX
public float getImageBoxX()Gets upper left X coordinate of the image boundary box- Returns:
- upper left X coordinate
-
setImageBoxX
public void setImageBoxX(float imageBoxX) Sets upper left X coordinate of the image boundary box- Parameters:
imageBoxX
- upper left X coordinate
-
getImageBoxY
public float getImageBoxY()Gets upper left Y coordinate of the image boundary box- Returns:
- upper left Y coordinate
-
setImageBoxY
public void setImageBoxY(float imageBoxY) Sets upper left Y coordinate of the image boundary box- Parameters:
imageBoxY
- upper left Y coordinate
-
getImageBoxWidth
public float getImageBoxWidth()Gets width of the image boundary box- Returns:
- width
-
setImageBoxWidth
public void setImageBoxWidth(float imageBoxWidth) Sets width of the image boundary box- Parameters:
imageBoxWidth
- width
-
getImageBoxHeight
public float getImageBoxHeight()Gets height of the image boundary box- Returns:
- height
-
setImageBoxHeight
public void setImageBoxHeight(float imageBoxHeight) Sets height of the image boundary box- Parameters:
imageBoxHeight
- height
-
getTextX
public float getTextX()Gets upper left X coordinate of the text- Returns:
- upper left X coordinate
-
setTextX
public void setTextX(float textX) Sets upper left X coordinate of the text- Parameters:
textX
- upper left X coordinate
-
getTextY
public float getTextY()Gets upper left Y coordinate of the text- Returns:
- upper left Y coordinate
-
setTextY
public void setTextY(float textY) Sets upper left Y coordinate of the text- Parameters:
textY
- upper left Y coordinate
-
getTextWidth
public float getTextWidth()Gets width of the text- Returns:
- width
-
setTextWidth
public void setTextWidth(float textWidth) Sets width of the text- Parameters:
textWidth
- width
-
getTextHeight
public float getTextHeight()Gets height of the text- Returns:
- height
-
setTextHeight
public void setTextHeight(float textHeight) Sets height of the text- Parameters:
textHeight
- height
-
getTextBoxX
public float getTextBoxX()Gets upper left X coordinate of the text boundary box- Returns:
- upper left X coordinate
-
setTextBoxX
public void setTextBoxX(float textBoxX) Sets upper left X coordinate of the text boundary box- Parameters:
textBoxX
- upper left X coordinate
-
getTextBoxY
public float getTextBoxY()Gets upper left Y coordinate of the text boundary box- Returns:
- upper left Y coordinate
-
setTextBoxY
public void setTextBoxY(float textBoxY) Sets upper left Y coordinate of the text boundary box- Parameters:
textBoxY
- upper left Y coordinate
-
getTextBoxWidth
public float getTextBoxWidth()Gets width of the text boundary box- Returns:
- width
-
setTextBoxWidth
public void setTextBoxWidth(float textBoxWidth) Sets width of the text boundary box- Parameters:
textBoxWidth
- width
-
getTextBoxHeight
public float getTextBoxHeight()Gets height of the text boundary box- Returns:
- height
-
setTextBoxHeight
public void setTextBoxHeight(float textBoxHeight) Sets height of the text boundary box- Parameters:
textBoxHeight
- height
-
getText
-
setText
-
getTextSize
public float getTextSize()Gets text size- Returns:
- text size
-
setTextSize
public void setTextSize(float textSize) Sets text size- Parameters:
textSize
- text size
-
getGlobalRotation
public int getGlobalRotation()Gets global signature field rotation- Returns:
- rotation
-
setGlobalRotation
public void setGlobalRotation(int globalRotation) Sets global signature field rotation- Parameters:
globalRotation
- rotation
-
getImageResolution
-
setImageResolution
Sets ImageResolution- Parameters:
imageResolution
-ImageResolution
-
getAnnotationBox
Description copied from interface:VisualSignatureFieldAppearance
Creates anAnnotationBox
from the SignatureFieldBox- Specified by:
getAnnotationBox
in interfaceVisualSignatureFieldAppearance
- Returns:
AnnotationBox
-