org.freehep.graphicsio.swf
Class DefineBitsLossless

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.DefineBitsLossless
All Implemented Interfaces:
SWFConstants
Direct Known Subclasses:
DefineBitsLossless2

public class DefineBitsLossless
extends DefinitionTag

DefineBitsLossless TAG.

Version:
$Id: DefineBitsLossless.java 10269 2007-01-09 00:32:55Z duns $
Author:
Mark Donszelmann, Charles Loomis

Field Summary
protected  Color bkg
           
protected  int character
           
protected  RenderedImage image
           
 
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
  DefineBitsLossless()
           
  DefineBitsLossless(int id, Image image, Color bkg, ImageObserver observer)
           
protected DefineBitsLossless(int tagID, int version)
           
  DefineBitsLossless(int id, RenderedImage image, Color bkg)
           
 
Method Summary
 int getLength()
           
 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(int tagID, 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

image

protected RenderedImage image

bkg

protected Color bkg
Constructor Detail

DefineBitsLossless

public DefineBitsLossless(int id,
                          Image image,
                          Color bkg,
                          ImageObserver observer)

DefineBitsLossless

public DefineBitsLossless(int id,
                          RenderedImage image,
                          Color bkg)

DefineBitsLossless

public DefineBitsLossless()

DefineBitsLossless

protected DefineBitsLossless(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(int tagID,
                     SWFOutputStream swf,
                     boolean hasAlpha)
              throws IOException
Throws:
IOException

getLength

public int getLength()
              throws IOException
Throws:
IOException

toString

public String toString()
Overrides:
toString in class DefinitionTag


Copyright © 2012. All Rights Reserved.