org.freehep.graphicsio.swf
Class DefineShape

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.DefineShape
All Implemented Interfaces:
SWFConstants
Direct Known Subclasses:
DefineShape2, DefineShape3, DefineShape4

public class DefineShape
extends DefinitionTag

DefineShape TAG.

Version:
$Id: DefineShape.java 9979 2006-11-27 22:51:07Z duns $
Author:
Mark Donszelmann, Charles Loomis

Field Summary
protected  java.awt.geom.Rectangle2D bounds
           
protected  int character
           
protected  FillStyleArray fillStyles
           
protected  LineStyleArray lineStyles
           
protected  SWFShape shape
           
 
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
  DefineShape()
           
protected DefineShape(int tagID, int version)
           
  DefineShape(int id, java.awt.geom.Rectangle2D bounds, FillStyleArray fillStyles, LineStyleArray lineStyles, SWFShape shape)
           
 
Method Summary
protected  void read(int tagID, SWFInputStream swf, boolean hasAlpha)
           
 SWFTag read(int tagID, SWFInputStream swf, int len)
           
 java.lang.String toString()
           
 void write(int tagID, SWFOutputStream swf)
           
 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

fillStyles

protected FillStyleArray fillStyles

lineStyles

protected LineStyleArray lineStyles

shape

protected SWFShape shape
Constructor Detail

DefineShape

public DefineShape(int id,
                   java.awt.geom.Rectangle2D bounds,
                   FillStyleArray fillStyles,
                   LineStyleArray lineStyles,
                   SWFShape shape)

DefineShape

public DefineShape()

DefineShape

protected DefineShape(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,
                    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

public 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.