Package eu.europa.esig.dss.pdf.visible
Class SignatureFieldDimensionAndPositionBuilder
java.lang.Object
eu.europa.esig.dss.pdf.visible.SignatureFieldDimensionAndPositionBuilder
Builds a
SignatureFieldDimensionAndPosition
for visual signature creation-
Field Summary
Modifier and TypeFieldDescriptionprotected final SignatureImageParameters
Visual signature parameters -
Constructor Summary
ConstructorDescriptionSignatureFieldDimensionAndPositionBuilder
(SignatureImageParameters imageParameters, DSSFontMetrics fontMetrics, AnnotationBox pageBox, int pageRotation) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds theSignatureFieldDimensionAndPosition
setSignatureFieldAnnotationBox
(AnnotationBox signatureFieldAnnotationBox) This method sets the target annotation box to wrap the signature representation into
-
Field Details
-
imageParameters
Visual signature parameters
-
-
Constructor Details
-
SignatureFieldDimensionAndPositionBuilder
public SignatureFieldDimensionAndPositionBuilder(SignatureImageParameters imageParameters, DSSFontMetrics fontMetrics, AnnotationBox pageBox, int pageRotation) Default constructor- Parameters:
imageParameters
-SignatureImageParameters
fontMetrics
-DSSFontMetrics
pageBox
-AnnotationBox
defining the page's dimensionspageRotation
- page rotation value
-
-
Method Details
-
setSignatureFieldAnnotationBox
public SignatureFieldDimensionAndPositionBuilder setSignatureFieldAnnotationBox(AnnotationBox signatureFieldAnnotationBox) This method sets the target annotation box to wrap the signature representation into- Parameters:
signatureFieldAnnotationBox
-AnnotationBox
- Returns:
- this
SignatureFieldDimensionAndPositionBuilder
-
build
Builds theSignatureFieldDimensionAndPosition
- Returns:
SignatureFieldDimensionAndPosition
-