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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw()Draw the visible signatureprotected JavaDSSFontMetricsGets the correspondingeu.europa.esig.dss.pdf.visible.DSSFontMetricsprotected StringReturns 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:AbstractPdfBoxSignatureDrawerGets the correspondingeu.europa.esig.dss.pdf.visible.DSSFontMetrics- Specified by:
getDSSFontMetricsin classAbstractPdfBoxSignatureDrawer- Returns:
DSSFontMetrics
-
draw
Description copied from interface:SignatureDrawerDraw the visible signature- Throws:
IOException- if an exception occurs
-
getExpectedColorSpaceName
Description copied from class:AbstractPdfBoxSignatureDrawerReturns color space name for the provided image- Specified by:
getExpectedColorSpaceNamein classAbstractPdfBoxSignatureDrawer- Returns:
Stringcolor space name
-