public class PDFStream
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BOTH |
static int |
FILL |
static int |
STROKE |
Modifier and Type | Method and Description |
---|---|
void |
clip() |
void |
closepath() |
void |
closepathFillStroke() |
void |
closepathStroke() |
boolean |
concat(double a,
double b,
double c,
double d,
double e,
double f) |
void |
continue_text(java.lang.String text) |
void |
curveTo(double x1,
double y1,
double x2,
double y2,
double x3,
double y3) |
void |
endpath() |
void |
fill() |
void |
fillStroke() |
boolean |
fit_file_image(PDFFileImage img) |
boolean |
fit_image(PDFImage img) |
void |
flush() |
void |
flushToGraph() |
PDFFont |
getFont() |
double |
getFontSize() |
int |
getId() |
int |
getLength() |
PDFProcSet |
getProcSet() |
void |
lineTo(double x,
double y) |
void |
moveTo(double x,
double y) |
static java.lang.String |
pdfEscapeText(java.lang.String text) |
void |
rect(double x,
double y,
double w,
double h) |
boolean |
restore()
Restores the graphics state
|
boolean |
save()
Saves the graphics state
|
boolean |
setcolor(java.lang.String fstype,
java.lang.String colorspace,
double c1,
double c2,
double c3,
double c4) |
void |
setDash(double b,
double w) |
void |
setFont(PDFFont font,
double size) |
boolean |
setlinewidth(double w) |
void |
setSolid() |
void |
setTextPos(double x,
double y) |
void |
show(java.lang.String text) |
void |
stroke() |
void |
write(PDFWriter out) |
void |
writeToStream(WriteStream os) |
public static int STROKE
public static int FILL
public static int BOTH
public int getId()
public void setFont(PDFFont font, double size)
public PDFFont getFont()
public double getFontSize()
public void setTextPos(double x, double y)
public void stroke()
public void closepath()
public void clip()
public void curveTo(double x1, double y1, double x2, double y2, double x3, double y3)
public void endpath()
public void closepathStroke()
public void closepathFillStroke()
public void fill()
public void fillStroke()
public void lineTo(double x, double y)
public void rect(double x, double y, double w, double h)
public void moveTo(double x, double y)
public boolean setcolor(java.lang.String fstype, java.lang.String colorspace, double c1, double c2, double c3, double c4)
public void setDash(double b, double w)
public void setSolid()
public boolean setlinewidth(double w)
public boolean save()
public boolean restore()
public boolean concat(double a, double b, double c, double d, double e, double f)
public void show(java.lang.String text)
public void continue_text(java.lang.String text)
public boolean fit_image(PDFImage img)
public boolean fit_file_image(PDFFileImage img)
public void flushToGraph()
public void flush()
public PDFProcSet getProcSet()
public int getLength()
public void write(PDFWriter out) throws java.io.IOException
java.io.IOException
public void writeToStream(WriteStream os) throws java.io.IOException
java.io.IOException
public static java.lang.String pdfEscapeText(java.lang.String text)