|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpt.tumba.parser.swf.TagWriter.SWFTextImpl
protected class TagWriter.SWFTextImpl
Description of the Class
Field Summary | |
---|---|
protected java.lang.Object[] |
currentStyleRecord
Description of the Field |
protected boolean |
hasAlpha
Description of the Field |
protected int |
maxAdvance
Description of the Field |
protected int |
maxGlyphIndex
Description of the Field |
protected java.util.List |
recs
Description of the Field |
Constructor Summary | |
---|---|
TagWriter.SWFTextImpl(boolean hasAlpha)
Constructor for the SWFTextImpl object |
Method Summary | |
---|---|
void |
color(Color color)
SWFText interface |
void |
done()
SWFText interface |
void |
font(int fontId,
int textHeight)
SWFText interface |
protected java.lang.Object[] |
getCurrentStyle()
Gets the currentStyle attribute of the SWFTextImpl object |
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 boolean hasAlpha
protected int maxGlyphIndex
protected int maxAdvance
protected java.util.List recs
protected java.lang.Object[] currentStyleRecord
Constructor Detail |
---|
public TagWriter.SWFTextImpl(boolean hasAlpha)
hasAlpha
- Description of the ParameterMethod Detail |
---|
protected java.lang.Object[] getCurrentStyle()
public void font(int fontId, int textHeight) throws java.io.IOException
font
in interface SWFText
fontId
- Description of the ParametertextHeight
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void color(Color color) throws java.io.IOException
color
in interface SWFText
color
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void setX(int x) throws java.io.IOException
setX
in interface SWFText
x
- The new x value
java.io.IOException
- Description of the Exceptionpublic void setY(int y) throws java.io.IOException
setY
in interface SWFText
y
- The new y value
java.io.IOException
- Description of the Exceptionpublic void text(int[] glyphIndices, int[] glyphAdvances) throws java.io.IOException
text
in interface SWFText
glyphIndices
- Description of the ParameterglyphAdvances
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void done() throws java.io.IOException
done
in interface SWFText
java.io.IOException
- Description of the Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |