|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.project.ui.wizard.export.image.Image2Pdf
public class Image2Pdf
Constructor Summary | |
---|---|
Image2Pdf()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
static void |
write(java.awt.image.BufferedImage image,
java.lang.String pdfPath,
Paper paper,
int widthBorder,
int heightBorder,
boolean landscape)
writes a buffered image to pdf at a resolution of 72dpi |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Image2Pdf()
Method Detail |
---|
public static void write(java.awt.image.BufferedImage image, java.lang.String pdfPath, Paper paper, int widthBorder, int heightBorder, boolean landscape)
image
- the image to writepdfPath
- the path to the pdf document to createpaper
- the paper typewidthBorder
- border in pixels to use on the x-axisheightBorder
- border in pixels to use on the y-axislanscape
- true if the document should be in landscape modepublic static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |