FreeHEP API
Version v1.1

org.freehep.graphicsio.swf
Class DefineFont

java.lang.Object
  |
  +--org.freehep.util.io.Tag
        |
        +--org.freehep.graphicsio.swf.SWFTag
              |
              +--org.freehep.graphicsio.swf.DefinitionTag
                    |
                    +--org.freehep.graphicsio.swf.DefineFont
All Implemented Interfaces:
SWFConstants

public class DefineFont
extends DefinitionTag

DefineFont TAG.

Version:
$Id: DefineFont.java,v 1.2 2002/07/30 19:11:32 duns Exp $
Author:
Mark Donszelmann, Charles Loomis

Field Summary
 
Fields inherited from class org.freehep.util.io.Tag
DEFAULT_TAG
 
Fields inherited from interface org.freehep.graphicsio.swf.SWFConstants
CONTROL, DEFAULT_VERSION, DEFINITION, TWIPS
 
Constructor Summary
DefineFont()
           
DefineFont(int id, SWFShape[] shapes)
           
 
Method Summary
 int getGlyphCount()
           
 SWFTag read(int tagID, SWFInputStream swf, int len)
           
 void setFontInfo(DefineFontInfo info)
           
 String toString()
           
 void write(int tagID, SWFOutputStream swf)
           
 
Methods inherited from class org.freehep.graphicsio.swf.DefinitionTag
getTagType
 
Methods inherited from class org.freehep.graphicsio.swf.SWFTag
read, write
 
Methods inherited from class org.freehep.util.io.Tag
getName, getTag, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefineFont

public DefineFont(int id,
                  SWFShape[] shapes)

DefineFont

public DefineFont()
Method Detail

read

public SWFTag read(int tagID,
                   SWFInputStream swf,
                   int len)
            throws IOException
Specified by:
read in class SWFTag
IOException

write

public void write(int tagID,
                  SWFOutputStream swf)
           throws IOException
Overrides:
write in class SWFTag
IOException

getGlyphCount

public int getGlyphCount()

setFontInfo

public void setFontInfo(DefineFontInfo info)

toString

public String toString()
Overrides:
toString in class DefinitionTag

FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.