pt.tumba.parser.swf
Interface SWFText

All Known Implementing Classes:
MovieBuilder.TextBuilder, SWF2HTML.TextDumper, SWFSaxParser, SWFTagDumper, TagWriter.SWFTextImpl

public interface SWFText

Interface for passing static text

Author:
unknown

Method Summary
 void color(Color color)
          Color is AlphaColor for DefineText2
 void done()
          Called at end of all text
 void font(int fontId, int textHeight)
          Description of the Method
 void setX(int x)
          Sets the x attribute of the SWFText object
 void setY(int y)
          Sets the y attribute of the SWFText object
 void text(int[] glyphIndices, int[] glyphAdvances)
          Description of the Method
 

Method Detail

font

void font(int fontId,
          int textHeight)
          throws java.io.IOException
Description of the Method

Parameters:
fontId - Description of the Parameter
textHeight - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

color

void color(Color color)
           throws java.io.IOException
Color is AlphaColor for DefineText2

Parameters:
color - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

setX

void setX(int x)
          throws java.io.IOException
Sets the x attribute of the SWFText object

Parameters:
x - The new x value
Throws:
java.io.IOException - Description of the Exception

setY

void setY(int y)
          throws java.io.IOException
Sets the y attribute of the SWFText object

Parameters:
y - The new y value
Throws:
java.io.IOException - Description of the Exception

text

void text(int[] glyphIndices,
          int[] glyphAdvances)
          throws java.io.IOException
Description of the Method

Parameters:
glyphIndices - Description of the Parameter
glyphAdvances - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

done

void done()
          throws java.io.IOException
Called at end of all text

Throws:
java.io.IOException - Description of the Exception