org.freehep.graphicsio.swf
Class DefineText.RecordType1

java.lang.Object
  extended by org.freehep.graphicsio.swf.DefineText.Record
      extended by org.freehep.graphicsio.swf.DefineText.RecordType1
Enclosing class:
DefineText

public static class DefineText.RecordType1
extends DefineText.Record

Text1 Record, for the attributes of the text.


Constructor Summary
DefineText.RecordType1(int fontID, java.awt.Color color, int xOffset, int yOffset, int height)
           
 
Method Summary
 void add(DefineText.GlyphEntry glyph)
           
 int getAdvanceBits()
           
 int getGlyphBits()
           
 boolean isEndRecord()
           
 java.lang.String toString()
           
 void write(SWFOutputStream swf, int glyphBits, int advanceBits, boolean hasAlpha)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefineText.RecordType1

public DefineText.RecordType1(int fontID,
                              java.awt.Color color,
                              int xOffset,
                              int yOffset,
                              int height)
Method Detail

add

public void add(DefineText.GlyphEntry glyph)

write

public void write(SWFOutputStream swf,
                  int glyphBits,
                  int advanceBits,
                  boolean hasAlpha)
           throws java.io.IOException
Specified by:
write in class DefineText.Record
Throws:
java.io.IOException

getGlyphBits

public int getGlyphBits()

getAdvanceBits

public int getAdvanceBits()

isEndRecord

public boolean isEndRecord()
Specified by:
isEndRecord in class DefineText.Record

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2000-2007 FreeHEP. All Rights Reserved.