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 voiddraw()Draw the visible signatureprotected StringgetColorSpaceName(DSSDocument image)Returns color space name for the provided image-
Methods inherited from class eu.europa.esig.dss.pdf.pdfbox.visible.AbstractPdfBoxSignatureDrawer
checkColorSpace, init
-
-
-
-
Method Detail
-
draw
public void draw() throws IOExceptionDescription copied from interface:SignatureDrawerDraw the visible signature- Throws:
IOException
-
getColorSpaceName
protected String getColorSpaceName(DSSDocument image) throws IOException
Description copied from class:AbstractPdfBoxSignatureDrawerReturns color space name for the provided image- Specified by:
getColorSpaceNamein classAbstractPdfBoxSignatureDrawer- Parameters:
image-DSSDocumentto get color space name for- Returns:
Stringcolor space name- Throws:
IOException- in case of image reading error
-
-