|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.MovieBuilder.TextBuilder
protected class MovieBuilder.TextBuilder
A SWFText implementation that builds a Text object
| Field Summary | |
|---|---|
protected Color |
color
Description of the Field |
protected Font |
font
Description of the Field |
protected boolean |
hasX
Description of the Field |
protected boolean |
hasY
Description of the Field |
protected double |
size
Description of the Field |
protected Text |
t
Description of the Field |
protected double |
x
Description of the Field |
protected double |
y
Description of the Field |
| Constructor Summary | |
|---|---|
protected |
MovieBuilder.TextBuilder(Text text)
Constructor for the TextBuilder object |
| Method Summary | |
|---|---|
void |
color(Color color)
SWFText interface |
void |
done()
SWFText interface |
void |
font(int fontId,
int textHeight)
SWFText interface |
void |
setX(int x)
SWFText interface |
void |
setY(int y)
SWFText interface |
void |
text(int[] glyphIndices,
int[] glyphAdvances)
SWFText interface |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Text t
protected Font font
protected double size
protected Color color
protected double x
protected double y
protected boolean hasX
protected boolean hasY
| Constructor Detail |
|---|
protected MovieBuilder.TextBuilder(Text text)
text - Description of the Parameter| Method Detail |
|---|
public void font(int fontId,
int textHeight)
font in interface SWFTextfontId - Description of the ParametertextHeight - Description of the Parameterpublic void color(Color color)
color in interface SWFTextcolor - Description of the Parameterpublic void setX(int x)
setX in interface SWFTextx - The new x valuepublic void setY(int y)
setY in interface SWFTexty - The new y value
public void text(int[] glyphIndices,
int[] glyphAdvances)
text in interface SWFTextglyphIndices - Description of the ParameterglyphAdvances - Description of the Parameterpublic void done()
done in interface SWFText
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||