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
public class DefaultPdfBoxVisibleSignatureDrawer extends AbstractPdfBoxSignatureDrawer
-
Field Summary
Fields inherited from class eu.europa.esig.dss.pdf.pdfbox.visible.AbstractPdfBoxSignatureDrawer
document, parameters, signatureOptions
-
Constructor Summary
Constructors Constructor Description DefaultPdfBoxVisibleSignatureDrawer()
-
Method Summary
Modifier and Type Method Description void
draw()
Draw the visible signatureprotected String
getColorSpaceName(DSSDocument image)
Returns color space name for the provided imageMethods inherited from class eu.europa.esig.dss.pdf.pdfbox.visible.AbstractPdfBoxSignatureDrawer
checkColorSpace, init
-
Constructor Details
-
DefaultPdfBoxVisibleSignatureDrawer
public DefaultPdfBoxVisibleSignatureDrawer()
-
-
Method Details
-
draw
Description copied from interface:SignatureDrawer
Draw the visible signature- Throws:
IOException
-
getColorSpaceName
Description copied from class:AbstractPdfBoxSignatureDrawer
Returns color space name for the provided image- Specified by:
getColorSpaceName
in classAbstractPdfBoxSignatureDrawer
- Parameters:
image
-DSSDocument
to get color space name for- Returns:
String
color space name- Throws:
IOException
- in case of image reading error
-