|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.com.caelum.stella.boleto.transformer.PDFBoletoWriter
public class PDFBoletoWriter
Writer que sabe escrever num PDF usando IText como dependencia.
| Constructor Summary | |
|---|---|
PDFBoletoWriter()
|
|
PDFBoletoWriter(double width,
double height)
|
|
| Method Summary | |
|---|---|
InputStream |
toInputStream()
Grava num InputStream |
void |
write(float x,
float y,
String text)
Escreve um texto na posição x, y com fonte normal (VERDANA, 8) |
void |
writeBold(float x,
float y,
String text)
Escreve um texto na posição x, y com fonte bold (VERDANA_BOLD, 10) |
void |
writeImage(float x,
float y,
BufferedImage image,
float width,
float height)
Escreve uma imagem na posição x, y |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDFBoletoWriter(double width,
double height)
public PDFBoletoWriter()
| Method Detail |
|---|
public InputStream toInputStream()
BoletoWriter
toInputStream in interface BoletoWriter
public void write(float x,
float y,
String text)
BoletoWriter
write in interface BoletoWriter
public void writeBold(float x,
float y,
String text)
BoletoWriter
writeBold in interface BoletoWriter
public void writeImage(float x,
float y,
BufferedImage image,
float width,
float height)
throws IOException
BoletoWriter
writeImage in interface BoletoWriterIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||