public abstract class Text
extends java.lang.Object
Constructor and Description |
---|
Text() |
Modifier and Type | Method and Description |
---|---|
java.awt.Font |
getFont()
Gets the font object used to setup the text.
|
java.awt.Graphics2D |
getGraphics()
Gets the graphics object used to setup the text.
|
protected java.util.ArrayList<com.mindfusion.drawing.Word> |
getInnerWords()
Gets the list containing the words of the text.
|
java.lang.String |
getPlainText()
Gets the text stripped of any formatting tags.
|
protected abstract void |
processText()
Invoked after new text has been assigned to the object to
allow clients to perform custom text processing.
|
void |
setup(java.lang.String text,
java.awt.Graphics2D graphics,
java.awt.Font font)
Assigns new text to the object.
|
public void setup(java.lang.String text, java.awt.Graphics2D graphics, java.awt.Font font)
public java.lang.String getPlainText()
protected java.util.ArrayList<com.mindfusion.drawing.Word> getInnerWords()
public java.awt.Graphics2D getGraphics()
public java.awt.Font getFont()
protected abstract void processText()