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
ConstructorsConstructorDescriptionDefault constructor instantiating object with null parameters -
Method Summary
Modifier and TypeMethodDescriptionCreates anAnnotationBoxfrom the SignatureFieldBoxfloatGets height of the signature bounding boxfloatGets width of the signature bounding boxfloatgetBoxX()Gets upper left X coordinate of the signature bounding boxfloatgetBoxY()Gets upper left Y coordinate of the signature bounding boxintGets global signature field rotationfloatGets height of the image boundary boxfloatGets width of the image boundary boxfloatGets upper left X coordinate of the image boundary boxfloatGets upper left Y coordinate of the image boundary boxfloatGets height of the imageGets ImageResolutionfloatGets width of the imagefloatGets upper left X coordinate of the imagefloatGets upper left Y coordinate of the imagegetText()Gets test stringfloatGets height of the text boundary boxfloatGets width of the text boundary boxfloatGets upper left X coordinate of the text boundary boxfloatGets upper left Y coordinate of the text boundary boxfloatGets height of the textfloatGets text sizefloatGets width of the textfloatgetTextX()Gets upper left X coordinate of the textfloatgetTextY()Gets upper left Y coordinate of the textvoidsetBoxHeight(float boxHeight) Sets height of the signature bounding boxvoidsetBoxWidth(float boxWidth) Sets width of the signature bounding boxvoidsetBoxX(float boxX) Sets upper left X coordinate of the signature bounding boxvoidsetBoxY(float boxY) Sets upper left Y coordinate of the signature bounding boxvoidsetGlobalRotation(int globalRotation) Sets global signature field rotationvoidsetImageBoxHeight(float imageBoxHeight) Sets height of the image boundary boxvoidsetImageBoxWidth(float imageBoxWidth) Sets width of the image boundary boxvoidsetImageBoxX(float imageBoxX) Sets upper left X coordinate of the image boundary boxvoidsetImageBoxY(float imageBoxY) Sets upper left Y coordinate of the image boundary boxvoidsetImageHeight(float imageHeight) Sets height of the imagevoidsetImageResolution(ImageResolution imageResolution) Sets ImageResolutionvoidsetImageWidth(float imageWidth) Sets width of the imagevoidsetImageX(float imageX) Sets upper left X coordinate of the imagevoidsetImageY(float imageY) Sets upper left Y coordinate of the imagevoidSets text stringvoidsetTextBoxHeight(float textBoxHeight) Sets height of the text boundary boxvoidsetTextBoxWidth(float textBoxWidth) Sets width of the text boundary boxvoidsetTextBoxX(float textBoxX) Sets upper left X coordinate of the text boundary boxvoidsetTextBoxY(float textBoxY) Sets upper left Y coordinate of the text boundary boxvoidsetTextHeight(float textHeight) Sets height of the textvoidsetTextSize(float textSize) Sets text sizevoidsetTextWidth(float textWidth) Sets width of the textvoidsetTextX(float textX) Sets upper left X coordinate of the textvoidsetTextY(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
Gets test string- Returns:
String
-
setText
Sets text string- Parameters:
text-String
-
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
Gets ImageResolution- Returns:
ImageResolution
-
setImageResolution
Sets ImageResolution- Parameters:
imageResolution-ImageResolution
-
getAnnotationBox
Description copied from interface:VisualSignatureFieldAppearanceCreates anAnnotationBoxfrom the SignatureFieldBox- Specified by:
getAnnotationBoxin interfaceVisualSignatureFieldAppearance- Returns:
AnnotationBox
-