public class DefineText extends DefinitionTag
| Modifier and Type | Class and Description | 
|---|---|
| static class  | DefineText.GlyphEntry | 
| static class  | DefineText.RecordAbstract Superclass for Text Records. | 
| static class  | DefineText.RecordType0Text0 Record, for the actual glyphs. | 
| static class  | DefineText.RecordType1Text1 Record, for the attributes of the text. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Rectangle2D | bounds | 
| protected int | character | 
| protected AffineTransform | matrix | 
| protected Vector<DefineText.Record> | text | 
CONTROL, DEFAULT_VERSION, DEFINITION, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATIN, LANGUAGE_SIMPLIFIED_CHINESE, LANGUAGE_TRADITIONAL_CHINESE, TWIPS| Modifier | Constructor and Description | 
|---|---|
|   | DefineText() | 
| protected  | DefineText(int tagID,
          int version) | 
|   | DefineText(int id,
          Rectangle2D bounds,
          AffineTransform matrix,
          Vector<DefineText.Record> text) | 
| Modifier and Type | Method and Description | 
|---|---|
| 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) | 
getTagTypeprotected int character
protected Rectangle2D bounds
protected AffineTransform matrix
protected Vector<DefineText.Record> text
public DefineText(int id,
          Rectangle2D bounds,
          AffineTransform matrix,
          Vector<DefineText.Record> text)
public DefineText()
protected DefineText(int tagID,
          int version)
public SWFTag read(int tagID, SWFInputStream swf, int len) throws IOException
read in class SWFTagIOExceptionprotected void read(int tagID,
        SWFInputStream swf,
        int len,
        boolean hasAlpha)
             throws IOException
IOExceptionpublic void write(int tagID,
         SWFOutputStream swf)
           throws IOException
write in class SWFTagIOExceptionprotected void write(SWFOutputStream swf, boolean hasAlpha) throws IOException
IOExceptionpublic String toString()
toString in class DefinitionTagCopyright © 2014. All rights reserved.