|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.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 ParameterMethod Detail |
---|
public void font(int fontId, int textHeight)
font
in interface SWFText
fontId
- Description of the ParametertextHeight
- Description of the Parameterpublic void color(Color color)
color
in interface SWFText
color
- Description of the Parameterpublic void setX(int x)
setX
in interface SWFText
x
- The new x valuepublic void setY(int y)
setY
in interface SWFText
y
- The new y valuepublic void text(int[] glyphIndices, int[] glyphAdvances)
text
in interface SWFText
glyphIndices
- 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 |