Class RemoteSignatureImageTextParameters
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureImageTextParameters
- All Implemented Interfaces:
Serializable
The signature parameters for text image creation
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the background color of text bounding boxgetFont()Gets the font documentGets text bounding box paddingGets text horizontal alignmentGets SingerText position relatively to an imageGets text vertical alignmentgetSize()Gets the font sizegetText()Gets the text stringGets the text colorGets the text wrappinginthashCode()voidsetBackgroundColor(RemoteColor backgroundColor) Sets the background color of text bounding boxvoidsetFont(RemoteDocument font) Sets the font documentvoidsetPadding(Float padding) Sets text bounding box paddingvoidsetSignerTextHorizontalAlignment(SignerTextHorizontalAlignment signerTextHorizontalAlignment) Sets text horizontal alignmentvoidsetSignerTextPosition(SignerTextPosition signerTextPosition) Sets SingerText position relatively to an imagevoidsetSignerTextVerticalAlignment(SignerTextVerticalAlignment signerTextVerticalAlignment) Sets text vertical alignmentvoidSets the font sizevoidSets the text stringvoidsetTextColor(RemoteColor textColor) Sets the text colorvoidsetTextWrapping(TextWrapping textWrapping) Sets the text wrapping, defining a way the text will be generatedtoString()
-
Constructor Details
-
RemoteSignatureImageTextParameters
public RemoteSignatureImageTextParameters()Default constructor instantiating object with null values
-
-
Method Details
-
getBackgroundColor
Gets the background color of text bounding box- Returns:
RemoteColor
-
setBackgroundColor
Sets the background color of text bounding box- Parameters:
backgroundColor-RemoteColor
-
getFont
Gets the font document- Returns:
RemoteDocument
-
setFont
Sets the font document- Parameters:
font-RemoteDocument
-
getTextWrapping
Gets the text wrapping- Returns:
TextWrapping
-
setTextWrapping
Sets the text wrapping, defining a way the text will be generated- Parameters:
textWrapping-TextWrapping
-
getPadding
Gets text bounding box padding- Returns:
Float
-
setPadding
Sets text bounding box padding- Parameters:
padding-Float
-
getSignerTextHorizontalAlignment
Gets text horizontal alignment- Returns:
SignerTextHorizontalAlignment
-
setSignerTextHorizontalAlignment
public void setSignerTextHorizontalAlignment(SignerTextHorizontalAlignment signerTextHorizontalAlignment) Sets text horizontal alignment- Parameters:
signerTextHorizontalAlignment-SignerTextHorizontalAlignment
-
getSignerTextVerticalAlignment
Gets text vertical alignment- Returns:
SignerTextHorizontalAlignment
-
setSignerTextVerticalAlignment
Sets text vertical alignment- Parameters:
signerTextVerticalAlignment-SignerTextVerticalAlignment
-
getSignerTextPosition
Gets SingerText position relatively to an image- Returns:
SignerTextPosition
-
setSignerTextPosition
Sets SingerText position relatively to an image- Parameters:
signerTextPosition-SignerTextPosition
-
getSize
Gets the font size- Returns:
Integer
-
setSize
Sets the font size- Parameters:
size-Integer
-
getText
Gets the text string- Returns:
String
-
setText
Sets the text string- Parameters:
text-String
-
getTextColor
Gets the text color- Returns:
RemoteColor
-
setTextColor
Sets the text color- Parameters:
textColor-RemoteColor
-
equals
-
hashCode
public int hashCode() -
toString
-