public class DefineShape extends DefinitionTag
| Modifier and Type | Field and Description | 
|---|---|
| protected Rectangle2D | bounds | 
| protected int | character | 
| protected FillStyleArray | fillStyles | 
| protected LineStyleArray | lineStyles | 
| protected SWFShape | shape | 
CONTROL, DEFAULT_VERSION, DEFINITION, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATIN, LANGUAGE_SIMPLIFIED_CHINESE, LANGUAGE_TRADITIONAL_CHINESE, TWIPS| Modifier | Constructor and Description | 
|---|---|
|   | DefineShape() | 
| protected  | DefineShape(int tagID,
           int version) | 
|   | DefineShape(int id,
           Rectangle2D bounds,
           FillStyleArray fillStyles,
           LineStyleArray lineStyles,
           SWFShape shape) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | read(int tagID,
    SWFInputStream swf,
    boolean hasAlpha) | 
| SWFTag | read(int tagID,
    SWFInputStream swf,
    int len) | 
| String | toString() | 
| void | write(int tagID,
     SWFOutputStream swf) | 
| void | write(SWFOutputStream swf,
     boolean hasAlpha) | 
getTagTypeprotected int character
protected Rectangle2D bounds
protected FillStyleArray fillStyles
protected LineStyleArray lineStyles
protected SWFShape shape
public DefineShape(int id,
           Rectangle2D bounds,
           FillStyleArray fillStyles,
           LineStyleArray lineStyles,
           SWFShape shape)
public DefineShape()
protected DefineShape(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,
        boolean hasAlpha)
             throws IOException
IOExceptionpublic void write(int tagID,
         SWFOutputStream swf)
           throws IOException
write in class SWFTagIOExceptionpublic void write(SWFOutputStream swf, boolean hasAlpha) throws IOException
IOExceptionpublic String toString()
toString in class DefinitionTagCopyright © 2014. All rights reserved.