public final class LayoutBox.Text extends LayoutBox.Box
LayoutBox.Box
which
is specifically for displaying Text.Modifier and Type | Method and Description |
---|---|
LayoutBox.Text |
getNextTwin()
Return the next "twin" of this Text item, or
null if none
exist. |
PDFStyle |
getStyle()
Return the style of this Text item
|
String |
getText()
Return the content of this Text item as a String.
|
void |
setText(String s)
Replace the contents of this Text box with a different line of text.
|
String |
toString() |
getBottom, getCorners, getImage, getLeft, getLineBottom, getLineNumber, getLineTop, getLinkedObject, getParent, getRight, getTop, setImage, setLinkedObject
public PDFStyle getStyle()
public String getText()
public LayoutBox.Text getNextTwin()
null
if none
exist. A "twin" is a second (or third, fourth etc.) Text
object
which was created when a phrase of text was split at the end of the line.public void setText(String s)
public String toString()
toString
in class LayoutBox.Box
Copyright © 2001-2017 Big Faceless Organization