FreeHEP API
Version current

org.freehep.graphicsio.swf
Class DefineText

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

public class DefineText
extends DefinitionTag

DefineText TAG.

Version:
$Id: DefineText.java,v 1.3 2005/02/28 06:55:58 duns Exp $
Author:
Mark Donszelmann, Charles Loomis
Source Code:
DefineText.java

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  Rectangle2D bounds
           
protected  int character
           
protected  AffineTransform matrix
           
protected  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, Rectangle2D bounds, AffineTransform matrix, Vector text)
           
 
Method Summary
 SWFTag read(int tagID, SWFInputStream swf, int len)
           
protected  void read(int tagID, SWFInputStream swf, int len, boolean hasAlpha)
           
 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 Rectangle2D bounds

matrix

protected AffineTransform matrix

text

protected Vector text
Constructor Detail

DefineText

public DefineText(int id,
                  Rectangle2D bounds,
                  AffineTransform matrix,
                  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 IOException
Specified by:
read in class SWFTag
Throws:
IOException

read

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

write

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

write

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

toString

public String toString()
Overrides:
toString in class DefinitionTag

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.