org.freehep.graphicsio.swf
Class DefineText

java.lang.Object
  extended by org.freehep.util.io.Tag
      extended by org.freehep.graphicsio.swf.SWFTag
          extended by org.freehep.graphicsio.swf.DefinitionTag
              extended by org.freehep.graphicsio.swf.DefineText
All Implemented Interfaces:
SWFConstants
Direct Known Subclasses:
DefineText2

public class DefineText
extends DefinitionTag

DefineText TAG.

Version:
$Id: DefineText.java 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann, Charles Loomis

Nested Class Summary
static class DefineText.GlyphEntry
           
static class DefineText.Record
          Abstract Superclass for Text Records.
static class DefineText.RecordType0
          Text0 Record, for the actual glyphs.
static class DefineText.RecordType1
          Text1 Record, for the attributes of the text.
 
Field Summary
protected  java.awt.geom.Rectangle2D bounds
           
protected  int character
           
protected  java.awt.geom.AffineTransform matrix
           
protected  java.util.Vector text
           
 
Fields inherited from class org.freehep.util.io.Tag
DEFAULT_TAG
 
Fields inherited from interface org.freehep.graphicsio.swf.SWFConstants
CONTROL, DEFAULT_VERSION, DEFINITION, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATIN, LANGUAGE_SIMPLIFIED_CHINESE, LANGUAGE_TRADITIONAL_CHINESE, TWIPS
 
Constructor Summary
  DefineText()
           
protected DefineText(int tagID, int version)
           
  DefineText(int id, java.awt.geom.Rectangle2D bounds, java.awt.geom.AffineTransform matrix, java.util.Vector text)
           
 
Method Summary
 SWFTag read(int tagID, SWFInputStream swf, int len)
           
protected  void read(int tagID, SWFInputStream swf, int len, boolean hasAlpha)
           
 java.lang.String toString()
           
 void write(int tagID, SWFOutputStream swf)
           
protected  void write(SWFOutputStream swf, boolean hasAlpha)
           
 
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
 

Field Detail

character

protected int character

bounds

protected java.awt.geom.Rectangle2D bounds

matrix

protected java.awt.geom.AffineTransform matrix

text

protected java.util.Vector text
Constructor Detail

DefineText

public DefineText(int id,
                  java.awt.geom.Rectangle2D bounds,
                  java.awt.geom.AffineTransform matrix,
                  java.util.Vector text)

DefineText

public DefineText()

DefineText

protected DefineText(int tagID,
                     int version)
Method Detail

read

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

read

protected void read(int tagID,
                    SWFInputStream swf,
                    int len,
                    boolean hasAlpha)
             throws java.io.IOException
Throws:
java.io.IOException

write

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

write

protected void write(SWFOutputStream swf,
                     boolean hasAlpha)
              throws java.io.IOException
Throws:
java.io.IOException

toString

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


Copyright © 2000-2007 FreeHEP. All Rights Reserved.