|
||||||||||
| 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 Parameter| Method Detail |
|---|
protected java.lang.Object[] getCurrentStyle()
public void font(int fontId,
int textHeight)
throws java.io.IOException
font in interface SWFTextfontId - Description of the ParametertextHeight - Description of the Parameter
java.io.IOException - Description of the Exception
public void color(Color color)
throws java.io.IOException
color in interface SWFTextcolor - Description of the Parameter
java.io.IOException - Description of the Exception
public void setX(int x)
throws java.io.IOException
setX in interface SWFTextx - The new x value
java.io.IOException - Description of the Exception
public void setY(int y)
throws java.io.IOException
setY in interface SWFTexty - The new y value
java.io.IOException - Description of the Exception
public void text(int[] glyphIndices,
int[] glyphAdvances)
throws java.io.IOException
text in interface SWFTextglyphIndices - Description of the ParameterglyphAdvances - Description of the Parameter
java.io.IOException - Description of the Exception
public void done()
throws java.io.IOException
done in interface SWFTextjava.io.IOException - Description of the Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||