br.com.caelum.stella.boleto.transformer
Interface BoletoWriter

All Known Implementing Classes:
PDFBoletoWriter, PNGBoletoWriter

public interface BoletoWriter


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
 

Method Detail

write

void write(float x,
           float y,
           String text)
Escreve um texto na posição x, y com fonte normal (VERDANA, 8)

Parameters:
x -
y -
text -

writeBold

void writeBold(float x,
               float y,
               String text)
Escreve um texto na posição x, y com fonte bold (VERDANA_BOLD, 10)

Parameters:
x -
y -
text -

writeImage

void writeImage(float x,
                float y,
                BufferedImage image,
                float width,
                float height)
                throws IOException
Escreve uma imagem na posição x, y

Parameters:
x -
y -
image -
width -
height -
Throws:
IOException

toInputStream

InputStream toInputStream()
Grava num InputStream

Returns:


Copyright © 2008 Caelum. All Rights Reserved.