public class PdfEncoder extends ImageEncoder
Modifier and Type | Field and Description |
---|---|
private String |
comment |
private boolean |
isLandscape |
private javajs.export.PDFCreator |
pdf |
Constructor and Description |
---|
PdfEncoder() |
Modifier and Type | Method and Description |
---|---|
private void |
addMyImage(int pageWidth,
int pageHeight)
centered on the page
|
protected void |
generate() |
protected void |
setParams(Map<String,Object> params) |
close, createImage, encodeImage, putByte, putString
private boolean isLandscape
private javajs.export.PDFCreator pdf
private String comment
protected void setParams(Map<String,Object> params)
setParams
in class ImageEncoder
protected void generate() throws Exception
generate
in class ImageEncoder
Exception
private void addMyImage(int pageWidth, int pageHeight)
pageWidth
- pageHeight
-