public class PDFPaintDelayQueue extends Object
Constructor and Description |
---|
PDFPaintDelayQueue(PDFWriter pdf,
PDFImageDelayQueue imageDelayQueue)
Don't forget to call setPageMatrix().
|
Modifier and Type | Method and Description |
---|---|
protected void |
addCyclicFunction(String functionRef,
double[] c0,
double[] c1,
double[] dom)
Writes a type 4 (PostScript calculator) function that describes a
triangle function to the pdf file.
|
int |
addPatterns()
Adds all names to the dictionary which should be the value of the
resources dicionrary's /Pattern entry.
|
PDFName |
delayPaint(Paint paint,
AffineTransform transform,
String writeAs) |
void |
processAll()
Creates a stream for every delayed image.
|
void |
setPageMatrix(AffineTransform t)
Call this method in order to inform this class about the transformation
that is necessary to map the pattern's coordinate space to the default
coordinate system of the parent's content stream (in our case the
flipping of the page).
|
public PDFPaintDelayQueue(PDFWriter pdf, PDFImageDelayQueue imageDelayQueue)
public void setPageMatrix(AffineTransform t)
public PDFName delayPaint(Paint paint, AffineTransform transform, String writeAs)
public void processAll() throws IOException
IOException
public int addPatterns() throws IOException
IOException
protected void addCyclicFunction(String functionRef, double[] c0, double[] c1, double[] dom) throws IOException
IOException
Copyright © 2014. All rights reserved.