java.lang.Object
com.anotherbigidea.flash.movie.Symbol
com.anotherbigidea.flash.movie.Text
- public class Text
- extends Symbol
A Text Symbol.
|
Nested Class Summary |
static class |
Text.Row
A set of contiguous characters in one font, size and color. |
| Fields inherited from class com.anotherbigidea.flash.movie.Symbol |
id |
|
Constructor Summary |
Text(Transform matrix)
Create a Text Symbol which is transformed by the given matrix |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hasAlpha
protected boolean hasAlpha
matrix
protected Transform matrix
rows
protected java.util.ArrayList rows
Text
public Text(Transform matrix)
- Create a Text Symbol which is transformed by the given matrix
getRows
public java.util.ArrayList getRows()
- Access the list of Row instances.
getTransform
public Transform getTransform()
- Get the transformation matrix applied to the text
setTransform
public void setTransform(Transform matrix)
row
public Text.Row row(Font.Chars chars,
com.anotherbigidea.flash.structs.Color color,
double x,
double y,
boolean hasX,
boolean hasY)
- Add a contiguous set of characters that have the same font, size, color
and vertical position.
defineSymbol
protected int defineSymbol(Movie movie,
com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter,
com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
throws java.io.IOException
- Description copied from class:
Symbol
- Override to provide symbol definition
- Specified by:
defineSymbol in class Symbol