java.lang.Object
com.anotherbigidea.flash.movie.Symbol
com.anotherbigidea.flash.movie.Image
com.anotherbigidea.flash.movie.Image.JPEG
- Enclosing class:
- Image
- public static class Image.JPEG
- extends Image
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.
| Fields inherited from class com.anotherbigidea.flash.movie.Symbol |
id |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jpegIn
protected java.io.InputStream jpegIn
jpegData
protected byte[] jpegData
Image.JPEG
public Image.JPEG(java.io.InputStream jpegImage)
- A JPEG image that will read from an input stream.
Image.JPEG
public Image.JPEG(byte[] imageData)
- Construct a JPEG image from byte data. Note that the
data must include the JPEG header ( 0xff,0xd9,0xff,0xd8 ).
getImageData
public byte[] getImageData()
- Get the raw image data. This will include the JPEG stream header(s)
( 0xff,0xd9,0xff,0xd8 ).
defineSymbol
protected int defineSymbol(Movie movie,
com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter,
com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
throws java.io.IOException
- Description copied from class:
Symbol
- Override to provide symbol definition
- Specified by:
defineSymbol in class Symbol