Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.anotherbigidea.flash.writers
Class TagWriter.SWFTextImpl  view TagWriter.SWFTextImpl download TagWriter.SWFTextImpl.java

java.lang.Object
  extended bycom.anotherbigidea.flash.writers.TagWriter.SWFTextImpl
All Implemented Interfaces:
com.anotherbigidea.flash.interfaces.SWFText
Enclosing class:
TagWriter

protected class TagWriter.SWFTextImpl
extends java.lang.Object
implements com.anotherbigidea.flash.interfaces.SWFText


Field Summary
protected  java.lang.Object[] currentStyleRecord
           
protected  boolean hasAlpha
           
protected  int maxAdvance
           
protected  int maxGlyphIndex
           
protected  java.util.Vector recs
           
 
Constructor Summary
TagWriter.SWFTextImpl(boolean hasAlpha)
           
 
Method Summary
 void color(com.anotherbigidea.flash.structs.Color color)
          SWFText interface
 void done()
          SWFText interface
 void font(int fontId, int textHeight)
          SWFText interface
protected  java.lang.Object[] getCurrentStyle()
           
 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

hasAlpha

protected boolean hasAlpha

maxGlyphIndex

protected int maxGlyphIndex

maxAdvance

protected int maxAdvance

recs

protected java.util.Vector recs

currentStyleRecord

protected java.lang.Object[] currentStyleRecord
Constructor Detail

TagWriter.SWFTextImpl

public TagWriter.SWFTextImpl(boolean hasAlpha)
Method Detail

getCurrentStyle

protected java.lang.Object[] getCurrentStyle()

font

public void font(int fontId,
                 int textHeight)
          throws java.io.IOException
SWFText interface

Specified by:
font in interface com.anotherbigidea.flash.interfaces.SWFText

color

public void color(com.anotherbigidea.flash.structs.Color color)
           throws java.io.IOException
SWFText interface

Specified by:
color in interface com.anotherbigidea.flash.interfaces.SWFText

setX

public void setX(int x)
          throws java.io.IOException
SWFText interface

Specified by:
setX in interface com.anotherbigidea.flash.interfaces.SWFText

setY

public void setY(int y)
          throws java.io.IOException
SWFText interface

Specified by:
setY in interface com.anotherbigidea.flash.interfaces.SWFText

text

public void text(int[] glyphIndices,
                 int[] glyphAdvances)
          throws java.io.IOException
SWFText interface

Specified by:
text in interface com.anotherbigidea.flash.interfaces.SWFText

done

public void done()
          throws java.io.IOException
SWFText interface

Specified by:
done in interface com.anotherbigidea.flash.interfaces.SWFText