pt.tumba.parser.swf
Class SWF2HTML.TextDumper

java.lang.Object
  extended by pt.tumba.parser.swf.SWF2HTML.TextDumper
All Implemented Interfaces:
SWFText
Enclosing class:
SWF2HTML

public class SWF2HTML.TextDumper
extends java.lang.Object
implements SWFText

Description of the Class

Author:
unknown

Field Summary
protected  boolean firstY
          Description of the Field
protected  java.lang.Integer fontId
          Description of the Field
 
Constructor Summary
SWF2HTML.TextDumper()
           
 
Method Summary
 void color(Color color)
          Description of the Method
 void done()
          Description of the Method
 void font(int fontId, int textHeight)
          Description of the Method
 void setX(int x)
          Sets the x attribute of the TextDumper object
 void setY(int y)
          Sets the y attribute of the TextDumper object
 void text(int[] glyphIndices, int[] glyphAdvances)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fontId

protected java.lang.Integer fontId
Description of the Field


firstY

protected boolean firstY
Description of the Field

Constructor Detail

SWF2HTML.TextDumper

public SWF2HTML.TextDumper()
Method Detail

font

public void font(int fontId,
                 int textHeight)
Description of the Method

Specified by:
font in interface SWFText
Parameters:
fontId - Description of the Parameter
textHeight - Description of the Parameter

setY

public void setY(int y)
Sets the y attribute of the TextDumper object

Specified by:
setY in interface SWFText
Parameters:
y - The new y value

text

public void text(int[] glyphIndices,
                 int[] glyphAdvances)
Description of the Method

Specified by:
text in interface SWFText
Parameters:
glyphIndices - Description of the Parameter
glyphAdvances - Description of the Parameter

color

public void color(Color color)
Description of the Method

Specified by:
color in interface SWFText
Parameters:
color - Description of the Parameter

setX

public void setX(int x)
Sets the x attribute of the TextDumper object

Specified by:
setX in interface SWFText
Parameters:
x - The new x value

done

public void done()
Description of the Method

Specified by:
done in interface SWFText