Package io.scanbot.pdf
Class PdfRenderer
-
- All Implemented Interfaces:
public final class PdfRenderer extends SelfDisposable
-
-
Constructor Summary
Constructors Constructor Description PdfRenderer()
-
Method Summary
Modifier and Type Method Description final Unit
addPage(ByteArray nv21, Integer width, Integer height, Integer orientation)
final Unit
addPageJPEG(ByteArray jpeg, Integer orientation)
final Unit
addPageImagePath(String imagePath)
final Unit
addPageBitmap(Bitmap bitmap, Integer orientation)
final Unit
beginRenderToFilePath(String pdfFilePath, PdfConfig pdfConfig)
final Unit
beginRenderToFilePath(PdfConfig pdfConfig)
final Unit
beginRender(OutputStream stream, PdfConfig pdfConfig)
final ByteArray
endRender()
-
-
Method Detail
-
addPageJPEG
final Unit addPageJPEG(ByteArray jpeg, Integer orientation)
-
addPageImagePath
final Unit addPageImagePath(String imagePath)
-
addPageBitmap
final Unit addPageBitmap(Bitmap bitmap, Integer orientation)
-
beginRenderToFilePath
final Unit beginRenderToFilePath(String pdfFilePath, PdfConfig pdfConfig)
-
beginRenderToFilePath
final Unit beginRenderToFilePath(PdfConfig pdfConfig)
-
beginRender
final Unit beginRender(OutputStream stream, PdfConfig pdfConfig)
-
-
-
-