Class RemoteSignatureImageTextParameters

java.lang.Object
eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureImageTextParameters
All Implemented Interfaces:
Serializable

public class RemoteSignatureImageTextParameters extends Object implements Serializable
The signature parameters for text image creation
See Also:
  • Constructor Details

    • RemoteSignatureImageTextParameters

      public RemoteSignatureImageTextParameters()
      Default constructor instantiating object with null values
  • Method Details

    • getBackgroundColor

      public eu.europa.esig.dss.ws.dto.RemoteColor getBackgroundColor()
      Gets the background color of text bounding box
      Returns:
      RemoteColor
    • setBackgroundColor

      public void setBackgroundColor(eu.europa.esig.dss.ws.dto.RemoteColor backgroundColor)
      Sets the background color of text bounding box
      Parameters:
      backgroundColor - RemoteColor
    • getFont

      public eu.europa.esig.dss.ws.dto.RemoteDocument getFont()
      Gets the font document
      Returns:
      RemoteDocument
    • setFont

      public void setFont(eu.europa.esig.dss.ws.dto.RemoteDocument font)
      Sets the font document
      Parameters:
      font - RemoteDocument
    • getTextWrapping

      public eu.europa.esig.dss.enumerations.TextWrapping getTextWrapping()
      Gets the text wrapping
      Returns:
      TextWrapping
    • setTextWrapping

      public void setTextWrapping(eu.europa.esig.dss.enumerations.TextWrapping textWrapping)
      Sets the text wrapping, defining a way the text will be generated
      Parameters:
      textWrapping - TextWrapping
    • getPadding

      public Float getPadding()
      Gets text bounding box padding
      Returns:
      Float
    • setPadding

      public void setPadding(Float padding)
      Sets text bounding box padding
      Parameters:
      padding - Float
    • getSignerTextHorizontalAlignment

      public eu.europa.esig.dss.enumerations.SignerTextHorizontalAlignment getSignerTextHorizontalAlignment()
      Gets text horizontal alignment
      Returns:
      SignerTextHorizontalAlignment
    • setSignerTextHorizontalAlignment

      public void setSignerTextHorizontalAlignment(eu.europa.esig.dss.enumerations.SignerTextHorizontalAlignment signerTextHorizontalAlignment)
      Sets text horizontal alignment
      Parameters:
      signerTextHorizontalAlignment - SignerTextHorizontalAlignment
    • getSignerTextVerticalAlignment

      public eu.europa.esig.dss.enumerations.SignerTextVerticalAlignment getSignerTextVerticalAlignment()
      Gets text vertical alignment
      Returns:
      SignerTextHorizontalAlignment
    • setSignerTextVerticalAlignment

      public void setSignerTextVerticalAlignment(eu.europa.esig.dss.enumerations.SignerTextVerticalAlignment signerTextVerticalAlignment)
      Sets text vertical alignment
      Parameters:
      signerTextVerticalAlignment - SignerTextVerticalAlignment
    • getSignerTextPosition

      public eu.europa.esig.dss.enumerations.SignerTextPosition getSignerTextPosition()
      Gets SingerText position relatively to an image
      Returns:
      SignerTextPosition
    • setSignerTextPosition

      public void setSignerTextPosition(eu.europa.esig.dss.enumerations.SignerTextPosition signerTextPosition)
      Sets SingerText position relatively to an image
      Parameters:
      signerTextPosition - SignerTextPosition
    • getSize

      public Integer getSize()
      Gets the font size
      Returns:
      Integer
    • setSize

      public void setSize(Integer size)
      Sets the font size
      Parameters:
      size - Integer
    • getText

      public String getText()
      Gets the text string
      Returns:
      String
    • setText

      public void setText(String text)
      Sets the text string
      Parameters:
      text - String
    • getTextColor

      public eu.europa.esig.dss.ws.dto.RemoteColor getTextColor()
      Gets the text color
      Returns:
      RemoteColor
    • setTextColor

      public void setTextColor(eu.europa.esig.dss.ws.dto.RemoteColor textColor)
      Sets the text color
      Parameters:
      textColor - RemoteColor
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object