Package com.logicaldoc.sign.pdf
Class SignatureImage
- java.lang.Object
- 
- com.logicaldoc.sign.pdf.SignatureImage
 
- 
 public class SignatureImage extends Object Represents the image of a digital signature- Since:
- 7.7.2
- Author:
- Marco Meschieri - LogicalDOC
 
- 
- 
Constructor SummaryConstructors Constructor Description SignatureImage()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static int[]create(File file, String name, String reason, Locale locale, String color, int opacity, int fontSize)Creates the signature image
 
- 
- 
- 
Method Detail- 
createpublic static int[] create(File file, String name, String reason, Locale locale, String color, int opacity, int fontSize) throws IOException Creates the signature image- Parameters:
- file- the output file
- name- name of the signer
- reason- the reason for signing
- locale- the current locale
- color- the signature color
- opacity- an opacity percentage 1..100
- fontSize- dimension of the font
- Returns:
- width and height of the generated image
- Throws:
- IOException- cannot write the PDF file
 
 
- 
 
-