|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.tumba.parser.swf.Symbol pt.tumba.parser.swf.Image pt.tumba.parser.swf.Image.JPEG
public static class Image.JPEG
A JPEG Image that can be used as a fill for Shapes. The JPEG image must be "baseline" - a "progressive" JPEG will cause the Flash player to have runtime problems.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class pt.tumba.parser.swf.Image |
---|
Image.JPEG, Image.Lossless |
Field Summary | |
---|---|
protected byte[] |
jpegData
Description of the Field |
protected java.io.InputStream |
jpegIn
Description of the Field |
Fields inherited from class pt.tumba.parser.swf.Symbol |
---|
id |
Constructor Summary | |
---|---|
Image.JPEG(byte[] imageData)
Construct a JPEG image from byte data. |
|
Image.JPEG(java.io.InputStream jpegImage)
A JPEG image that will read from an input stream. |
Method Summary | |
---|---|
protected int |
defineSymbol(Movie movie,
SWFTagTypes timelineWriter,
SWFTagTypes definitionWriter)
Description of the Method |
byte[] |
getImageData()
Get the raw image data. |
Methods inherited from class pt.tumba.parser.swf.Symbol |
---|
define, getId, getNextId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.InputStream jpegIn
protected byte[] jpegData
Constructor Detail |
---|
public Image.JPEG(java.io.InputStream jpegImage)
jpegImage
- Description of the Parameterpublic Image.JPEG(byte[] imageData)
imageData
- Description of the ParameterMethod Detail |
---|
public byte[] getImageData()
protected int defineSymbol(Movie movie, SWFTagTypes timelineWriter, SWFTagTypes definitionWriter) throws java.io.IOException
defineSymbol
in class Symbol
movie
- Description of the ParametertimelineWriter
- Description of the ParameterdefinitionWriter
- Description of the Parameter
java.io.IOException
- Description of the Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |