|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ranab.img.BaseImage ranab.img.gif.GifImage
public class GifImage
GIF encoder class. It supports transparency, multiple images and animation.
Field Summary |
---|
Fields inherited from class ranab.img.BaseImage |
---|
miHeight, miWidth |
Constructor Summary | |
---|---|
GifImage(int width,
int height)
Constructor |
Method Summary | |
---|---|
void |
addImage(GifImage gi)
Add image - animation |
void |
encode(java.io.OutputStream os)
Encode GIF image |
GifCommentEx |
getCommentBlock()
Get the gif comment block. |
GifGraphicEx |
getGraphicBlock()
Get graphic extension block. |
java.awt.Graphics2D |
getGraphics()
Get graphics |
java.lang.String |
getMimeType()
get mime type |
GifNsAppEx |
getNsApplicationBlock()
Get Netscape application block. |
void |
printColor()
print the global color table (debug only) |
void |
resetDelay()
Reset delay. |
void |
resetTransparency()
Reset transparency |
void |
setDelay(int delay)
Set delay. |
void |
setIterationCount(int count)
set iteration count |
void |
setTransparency(java.awt.Color col)
Set transparency. |
void |
updateColorTable(java.awt.Color col)
Update color table |
Methods inherited from class ranab.img.BaseImage |
---|
getHeight, getWidth |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GifImage(int width, int height)
Method Detail |
---|
public java.awt.Graphics2D getGraphics()
getGraphics
in class ranab.img.BaseImage
public java.lang.String getMimeType()
getMimeType
in class ranab.img.BaseImage
public GifCommentEx getCommentBlock()
public GifGraphicEx getGraphicBlock()
public GifNsAppEx getNsApplicationBlock()
public void setTransparency(java.awt.Color col)
public void resetTransparency()
public void setDelay(int delay)
public void resetDelay()
public void setIterationCount(int count)
public void updateColorTable(java.awt.Color col)
public void printColor()
public void addImage(GifImage gi)
public void encode(java.io.OutputStream os) throws java.io.IOException
encode
in class ranab.img.BaseImage
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |