java.lang.Objectcom.pdfjet.PlainText
public class PlainText
Please see Example_45
Constructor Summary | |
---|---|
PlainText(Font font,
java.lang.String[] textLines)
|
Method Summary | |
---|---|
float[] |
drawOn(Page page)
Draws this PlainText on the specified page. |
java.util.List<float[]> |
getEndOfLinePoints()
|
PlainText |
setBackgroundColor(int backgroundColor)
|
PlainText |
setBorderColor(int borderColor)
|
PlainText |
setFontSize(float fontSize)
|
PlainText |
setLeading(float leading)
|
PlainText |
setLocation(float x,
float y)
|
PlainText |
setTextColor(int textColor)
|
PlainText |
setWidth(float w)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlainText(Font font, java.lang.String[] textLines)
Method Detail |
---|
public PlainText setFontSize(float fontSize)
public PlainText setLocation(float x, float y)
public PlainText setWidth(float w)
public PlainText setLeading(float leading)
public PlainText setBackgroundColor(int backgroundColor)
public PlainText setBorderColor(int borderColor)
public PlainText setTextColor(int textColor)
public java.util.List<float[]> getEndOfLinePoints()
public float[] drawOn(Page page) throws java.lang.Exception
drawOn
in interface Drawable
page
- the page to draw this PlainText on.
java.lang.Exception