FreeHEP API
Version current

org.freehep.graphicsio.swf
Class DefineText.RecordType1

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

public static class DefineText.RecordType1
extends DefineText.Record

Text1 Record, for the attributes of the text.

Source Code:
DefineText.RecordType1.java

Constructor Summary
DefineText.RecordType1(int fontID, Color color, int xOffset, int yOffset, int height)
           
 
Method Summary
 void add(DefineText.GlyphEntry glyph)
           
 int getAdvanceBits()
           
 int getGlyphBits()
           
 boolean isEndRecord()
           
 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,
                              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 IOException
Specified by:
write in class DefineText.Record
Throws:
IOException

getGlyphBits

public int getGlyphBits()

getAdvanceBits

public int getAdvanceBits()

isEndRecord

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

toString

public String toString()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.