Class DefaultPdfBoxVisibleSignatureDrawer
java.lang.Object
eu.europa.esig.dss.pdf.pdfbox.visible.AbstractPdfBoxSignatureDrawer
eu.europa.esig.dss.pdf.pdfbox.visible.defaultdrawer.DefaultPdfBoxVisibleSignatureDrawer
- All Implemented Interfaces:
PdfBoxSignatureDrawer
,SignatureDrawer
,SignatureFieldBoxBuilder
The default PDFBox signature drawer.
Creates an image for a text content of the signature.
-
Field Summary
Fields inherited from class eu.europa.esig.dss.pdf.pdfbox.visible.AbstractPdfBoxSignatureDrawer
document, parameters, signatureOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw()
Draw the visible signatureprotected JavaDSSFontMetrics
Gets the correspondingeu.europa.esig.dss.pdf.visible.DSSFontMetrics
protected String
Returns color space name for the provided imageMethods inherited from class eu.europa.esig.dss.pdf.pdfbox.visible.AbstractPdfBoxSignatureDrawer
addColorSpace, buildSignatureFieldBox, checkColorSpace, init
-
Constructor Details
-
DefaultPdfBoxVisibleSignatureDrawer
public DefaultPdfBoxVisibleSignatureDrawer()Default constructor
-
-
Method Details
-
getDSSFontMetrics
Description copied from class:AbstractPdfBoxSignatureDrawer
Gets the correspondingeu.europa.esig.dss.pdf.visible.DSSFontMetrics
- Specified by:
getDSSFontMetrics
in classAbstractPdfBoxSignatureDrawer
- Returns:
DSSFontMetrics
-
draw
Description copied from interface:SignatureDrawer
Draw the visible signature- Throws:
IOException
- if an exception occurs
-
getExpectedColorSpaceName
Description copied from class:AbstractPdfBoxSignatureDrawer
Returns color space name for the provided image- Specified by:
getExpectedColorSpaceName
in classAbstractPdfBoxSignatureDrawer
- Returns:
String
color space name
-