com.pdfjet
Class Text

java.lang.Object
  extended by com.pdfjet.Text

public class Text
extends java.lang.Object

Please see Example_45


Constructor Summary
Text(java.util.List<Paragraph> paragraphs)
           
 
Method Summary
 float[] drawOn(Page page)
           
 float[] drawOn(Page page, boolean draw)
           
 float[] drawTextLine(Page page, float x_text, float y_text, TextLine textLine, boolean draw)
           
 java.util.List<float[]> getBeginParagraphPoints()
           
 java.util.List<float[]> getEndParagraphPoints()
           
 Text setLeading(float leading)
           
 Text setLocation(float x, float y)
           
 Text setParagraphLeading(float paragraphLeading)
           
 Text setSpaceBetweenTextLines(float spaceBetweenTextLines)
           
 Text setWidth(float w)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Text

public Text(java.util.List<Paragraph> paragraphs)
     throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

setLocation

public Text setLocation(float x,
                        float y)

setWidth

public Text setWidth(float w)

setLeading

public Text setLeading(float leading)

setParagraphLeading

public Text setParagraphLeading(float paragraphLeading)

getBeginParagraphPoints

public java.util.List<float[]> getBeginParagraphPoints()

getEndParagraphPoints

public java.util.List<float[]> getEndParagraphPoints()

setSpaceBetweenTextLines

public Text setSpaceBetweenTextLines(float spaceBetweenTextLines)

drawOn

public float[] drawOn(Page page)
               throws java.lang.Exception
Throws:
java.lang.Exception

drawOn

public float[] drawOn(Page page,
                      boolean draw)
               throws java.lang.Exception
Throws:
java.lang.Exception

drawTextLine

public float[] drawTextLine(Page page,
                            float x_text,
                            float y_text,
                            TextLine textLine,
                            boolean draw)
                     throws java.lang.Exception
Throws:
java.lang.Exception