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 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

      public String getText()
      Gets test string
      Returns:
      String
    • setText

      public void setText(String text)
      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

      public ImageResolution getImageResolution()
      Gets ImageResolution
      Returns:
      ImageResolution
    • setImageResolution

      public void setImageResolution(ImageResolution imageResolution)
      Sets ImageResolution
      Parameters:
      imageResolution - ImageResolution
    • getAnnotationBox

      public AnnotationBox getAnnotationBox()
      Description copied from interface: VisualSignatureFieldAppearance
      Creates an AnnotationBox from the SignatureFieldBox
      Specified by:
      getAnnotationBox in interface VisualSignatureFieldAppearance
      Returns:
      AnnotationBox