Class ImageOnlySignatureDrawer
java.lang.Object
eu.europa.esig.dss.pdf.openpdf.visible.AbstractITextSignatureDrawer
eu.europa.esig.dss.pdf.openpdf.visible.ImageOnlySignatureDrawer
- All Implemented Interfaces:
ITextSignatureDrawer
,SignatureDrawer
,SignatureFieldBoxBuilder
iText drawer used for image only visible signature creation
-
Field Summary
Fields inherited from class eu.europa.esig.dss.pdf.openpdf.visible.AbstractITextSignatureDrawer
appearance, parameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw()
Draw the visible signatureprotected DSSFontMetrics
Returns the associated with the drawer font metricsprotected com.lowagie.text.pdf.PdfName
Returns color space name for the provided imageMethods inherited from class eu.europa.esig.dss.pdf.openpdf.visible.AbstractITextSignatureDrawer
addColorSpace, buildSignatureFieldBox, checkColorSpace, getFinalRotation, getPageAnnotationBox, getPageRotation, getRotatedAnnotationRelativelyPageRotation, init, toAnnotationBox, toITextRectangle
-
Constructor Details
-
ImageOnlySignatureDrawer
public ImageOnlySignatureDrawer()Default constructor
-
-
Method Details
-
draw
public void draw()Description copied from interface:SignatureDrawer
Draw the visible signature -
getDSSFontMetrics
Description copied from class:AbstractITextSignatureDrawer
Returns the associated with the drawer font metrics- Specified by:
getDSSFontMetrics
in classAbstractITextSignatureDrawer
- Returns:
DSSFontMetrics
-
getExpectedColorSpaceName
protected com.lowagie.text.pdf.PdfName getExpectedColorSpaceName()Description copied from class:AbstractITextSignatureDrawer
Returns color space name for the provided image- Specified by:
getExpectedColorSpaceName
in classAbstractITextSignatureDrawer
- Returns:
PdfName
color space name
-