Package | Description |
---|---|
com.sun.pdfview | |
com.sun.pdfview.font |
Modifier and Type | Method and Description |
---|---|
PDFPage |
PDFFile.getPage(int pagenum)
Get the page commands for a given page in a separate thread.
|
PDFPage |
PDFFile.getPage(int pagenum,
boolean wait)
Get the page commands for a given page.
|
PDFPage |
Cache.getPage(Integer pageNumber)
Get a page from the cache
|
Modifier and Type | Method and Description |
---|---|
void |
PDFPage.addCommands(PDFPage page)
add a collection of commands to the page list.
|
void |
PDFPage.addCommands(PDFPage page,
AffineTransform extra)
add a collection of commands to the page list.
|
void |
Cache.addImage(PDFPage page,
ImageInfo info,
BufferedImage image)
Add an image to the cache.
|
void |
Cache.addImage(PDFPage page,
ImageInfo info,
BufferedImage image,
PDFRenderer renderer)
Add an image to the cache.
|
void |
Cache.addPage(Integer pageNumber,
PDFPage page)
Add a page to the cache.
|
void |
Cache.addPage(Integer pageNumber,
PDFPage page,
PDFParser parser)
Add a page to the cache.
|
void |
PDFTextFormat.doText(PDFPage cmds,
Object[] ary)
add some text to the page.
|
void |
PDFTextFormat.doText(PDFPage cmds,
String text)
add some text to the page.
|
BufferedImage |
Cache.getImage(PDFPage page,
ImageInfo info)
Get an image from the cache
|
PDFRenderer |
Cache.getImageRenderer(PDFPage page,
ImageInfo info)
Get an image's renderer from the cache
|
void |
Cache.removeImage(PDFPage page,
ImageInfo info)
Remove an image and its associated renderer from the cache
|
Constructor and Description |
---|
PDFParser(PDFPage cmds,
byte[] stream,
HashMap<String,PDFObject> resources)
Don't call this constructor directly.
|
PDFRenderer(PDFPage page,
Graphics2D g,
Rectangle imgbounds,
Rectangle2D clip,
Color bgColor)
create a new PDFGraphics state, given a Graphics2D.
|
PDFRenderer(PDFPage page,
ImageInfo imageinfo,
BufferedImage bi)
create a new PDFGraphics state
|
Modifier and Type | Method and Description |
---|---|
PDFPage |
PDFGlyph.getPage()
Get the PDFPage for a type3 font glyph
|
Modifier and Type | Method and Description |
---|---|
Point2D |
PDFGlyph.addCommands(PDFPage cmds,
AffineTransform transform,
int mode)
Add commands for this glyph to a page
|
Constructor and Description |
---|
PDFGlyph(char src,
String name,
PDFPage page,
Point2D advance)
Creates a new instance of PDFGlyph based on a page
|
Copyright © 2023. All rights reserved.