|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.TagWriter
public class TagWriter
A writer that implements the SWFTagTypes interface and writes to a SWFTags interface
| Nested Class Summary | |
|---|---|
protected static class |
TagWriter.ButtonActionWriter
Description of the Class |
protected static class |
TagWriter.Font2ShapeImpl
Description of the Class |
protected static class |
TagWriter.MorphShapeImpl
Description of the Class |
protected class |
TagWriter.SpriteTags
Description of the Class |
protected static class |
TagWriter.SWFShapeImpl
Implementation of the SWFShape interface |
protected class |
TagWriter.SWFTextImpl
Description of the Class |
| Field Summary | |
|---|---|
protected java.io.ByteArrayOutputStream |
bytes
Description of the Field |
protected boolean |
longTag
Description of the Field |
protected OutStream |
out
Description of the Field |
protected SWFTags |
tags
Description of the Field |
protected int |
tagType
Description of the Field |
protected int |
version
Description of the Field |
| Constructor Summary | |
|---|---|
TagWriter(SWFTags tags)
Constructor for the TagWriter object |
|
| Method Summary | |
|---|---|
protected void |
completeTag()
Finish the tag context and write the tag |
protected SWFText |
defineText(Rect bounds,
Matrix matrix,
boolean hasAlpha)
Description of the Method |
protected SWFActions |
factorySWFActions()
Description of the Method |
protected SWFShape |
factorySWFShape(boolean hasAlpha,
boolean hasStyle)
Description of the Method |
protected OutStream |
getOutStream()
Gets the outStream attribute of the TagWriter object |
void |
header(int version,
long length,
int twipsWidth,
int twipsHeight,
int frameRate,
int frameCount)
SWFHeader interface. |
protected void |
startShape(int tagType,
int id,
Rect outline)
Description of the Method |
protected void |
startTag(int tagType,
boolean longTag)
Start a new tag context |
protected void |
startTag(int tagType,
int id,
boolean longTag)
Start a new definition tag context |
void |
tag(int tagType,
boolean longTag,
byte[] contents)
SWFTags interface |
void |
tagButtonCXForm(int buttonId,
ColorTransform transform)
SWFTagTypes interface |
void |
tagDefineBits(int id,
byte[] imageData)
SWFTagTypes interface |
void |
tagDefineBitsJPEG2(int id,
byte[] data)
SWFTagTypes interface |
void |
tagDefineBitsJPEG2(int id,
java.io.InputStream jpegImage)
SWFTagTypes interface |
void |
tagDefineBitsJPEG3(int id,
byte[] imageData,
byte[] alphaData)
SWFTagTypes interface |
void |
tagDefineBitsLossless(int id,
int format,
int width,
int height,
Color[] colors,
byte[] imageData)
SWFTagTypes interface |
void |
tagDefineBitsLossless2(int id,
int format,
int width,
int height,
Color[] colors,
byte[] imageData)
SWFTagTypes interface |
SWFActions |
tagDefineButton(int id,
java.util.List buttonRecords)
SWFTagTypes interface |
SWFActions |
tagDefineButton2(int id,
boolean trackAsMenu,
java.util.List buttonRecord2s)
SWFTagTypes interface |
void |
tagDefineButtonSound(int buttonId,
int rollOverSoundId,
SoundInfo rollOverSoundInfo,
int rollOutSoundId,
SoundInfo rollOutSoundInfo,
int pressSoundId,
SoundInfo pressSoundInfo,
int releaseSoundId,
SoundInfo releaseSoundInfo)
SWFTagTypes interface |
SWFVectors |
tagDefineFont(int id,
int numGlyphs)
SWFTagTypes interface |
SWFVectors |
tagDefineFont2(int id,
int flags,
java.lang.String name,
int numGlyphs,
int ascent,
int descent,
int leading,
int[] codes,
int[] advances,
Rect[] bounds,
int[] kernCodes1,
int[] kernCodes2,
int[] kernAdjustments)
SWFTagTypes interface |
void |
tagDefineFontInfo(int fontId,
java.lang.String fontName,
int flags,
int[] codes)
SWFTagTypes interface |
SWFShape |
tagDefineMorphShape(int id,
Rect startBounds,
Rect endBounds)
SWFTagTypes interface |
void |
tagDefineQuickTimeMovie(int id,
java.lang.String filename)
SWFTagTypes interface |
SWFShape |
tagDefineShape(int id,
Rect outline)
SWFTagTypes interface |
SWFShape |
tagDefineShape2(int id,
Rect outline)
SWFTagTypes interface |
SWFShape |
tagDefineShape3(int id,
Rect outline)
SWFTagTypes interface |
void |
tagDefineSound(int id,
int format,
int frequency,
boolean bits16,
boolean stereo,
int sampleCount,
byte[] soundData)
SWFTagTypes interface |
SWFTagTypes |
tagDefineSprite(int id)
SWFTagTypes interface |
SWFText |
tagDefineText(int id,
Rect bounds,
Matrix matrix)
SWFTagTypes interface |
SWFText |
tagDefineText2(int id,
Rect bounds,
Matrix matrix)
SWFTagTypes interface |
void |
tagDefineTextField(int fieldId,
java.lang.String fieldName,
java.lang.String initialText,
Rect boundary,
int flags2,
AlphaColor textColor,
int alignment,
int fontId,
int fontSize,
int charLimit,
int leftMargin,
int rightMargin,
int indentation,
int lineSpacing)
SWFTagTypes interface |
SWFActions |
tagDoAction()
SWFTagTypes interface |
void |
tagEnableDebug(byte[] password)
SWFTagTypes interface |
void |
tagEnd()
SWFTagTypes interface |
void |
tagExport(java.lang.String[] names,
int[] ids)
SWFTagTypes interface |
void |
tagFrameLabel(java.lang.String label)
SWFTagTypes interface |
void |
tagFreeCharacter(int charId)
SWFTagTypes interface |
void |
tagGenerator(byte[] data)
SWFTagTypes interface |
void |
tagGeneratorCommand(byte[] data)
SWFTagTypes interface |
void |
tagGeneratorFont(byte[] data)
SWFTagTypes interface |
void |
tagGeneratorText(byte[] data)
SWFTagTypes interface |
void |
tagImport(java.lang.String movieName,
java.lang.String[] names,
int[] ids)
SWFTagTypes interface |
void |
tagJPEGTables(byte[] jpegEncodingData)
SWFTagTypes interface |
void |
tagNameCharacter(byte[] data)
SWFTagTypes interface |
void |
tagPlaceObject(int charId,
int depth,
Matrix matrix,
AlphaTransform cxform)
SWFTagTypes interface |
SWFActions |
tagPlaceObject2(boolean isMove,
int clipDepth,
int depth,
int charId,
Matrix matrix,
AlphaTransform cxform,
int ratio,
java.lang.String name,
int clipActionFlags)
SWFTagTypes interface |
void |
tagProtect(byte[] password)
SWFTagTypes interface |
void |
tagRemoveObject(int charId,
int depth)
SWFTagTypes interface |
void |
tagRemoveObject2(int depth)
SWFTagTypes interface |
void |
tagSerialNumber(java.lang.String serialNumber)
SWFTagTypes interface |
void |
tagSetBackgroundColor(Color color)
SWFTagTypes interface |
void |
tagShowFrame()
SWFTagTypes interface |
void |
tagSoundStreamBlock(byte[] soundData)
SWFTagTypes interface |
void |
tagSoundStreamHead(int playbackFrequency,
boolean playback16bit,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bit,
boolean streamStereo,
int averageSampleCount)
SWFTagTypes interface |
void |
tagSoundStreamHead2(int playbackFrequency,
boolean playback16bit,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bit,
boolean streamStereo,
int averageSampleCount)
SWFTagTypes interface |
void |
tagStartSound(int soundId,
SoundInfo info)
SWFTagTypes interface |
void |
writeBitsLossless(int id,
int format,
int width,
int height,
Color[] colors,
byte[] imageData,
boolean hasAlpha)
Description of the Method |
void |
writeSoundStreamHead(int tag,
int playbackFrequency,
boolean playback16bits,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bits,
boolean streamStereo,
int averageSampleCount)
Description of the Method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SWFTags tags
protected OutStream out
protected java.io.ByteArrayOutputStream bytes
protected int tagType
protected boolean longTag
protected int version
| Constructor Detail |
|---|
public TagWriter(SWFTags tags)
tags - Description of the Parameter| Method Detail |
|---|
protected OutStream getOutStream()
protected SWFActions factorySWFActions()
protected SWFShape factorySWFShape(boolean hasAlpha,
boolean hasStyle)
hasAlpha - Description of the ParameterhasStyle - Description of the Parameter
protected void startTag(int tagType,
boolean longTag)
tagType - Description of the ParameterlongTag - Description of the Parameter
protected void startTag(int tagType,
int id,
boolean longTag)
throws java.io.IOException
tagType - Description of the Parameterid - Description of the ParameterlongTag - Description of the Parameter
java.io.IOException - Description of the Exception
protected void completeTag()
throws java.io.IOException
java.io.IOException - Description of the Exception
public void tag(int tagType,
boolean longTag,
byte[] contents)
throws java.io.IOException
tag in interface SWFTagstagType - Description of the ParameterlongTag - Description of the Parametercontents - Description of the Parameter
java.io.IOException - Description of the Exception
public void header(int version,
long length,
int twipsWidth,
int twipsHeight,
int frameRate,
int frameCount)
throws java.io.IOException
header in interface SWFHeaderversion - Description of the Parameterlength - Description of the ParametertwipsWidth - Description of the ParametertwipsHeight - Description of the ParameterframeRate - Description of the ParameterframeCount - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagEnd()
throws java.io.IOException
tagEnd in interface SWFSpriteTagTypesjava.io.IOException - Description of the Exception
public void tagShowFrame()
throws java.io.IOException
tagShowFrame in interface SWFSpriteTagTypesjava.io.IOException - Description of the Exception
public void tagDefineSound(int id,
int format,
int frequency,
boolean bits16,
boolean stereo,
int sampleCount,
byte[] soundData)
throws java.io.IOException
tagDefineSound in interface SWFTagTypesid - Description of the Parameterformat - Description of the Parameterfrequency - Description of the Parameterbits16 - Description of the Parameterstereo - Description of the ParametersampleCount - Description of the ParametersoundData - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagDefineButtonSound(int buttonId,
int rollOverSoundId,
SoundInfo rollOverSoundInfo,
int rollOutSoundId,
SoundInfo rollOutSoundInfo,
int pressSoundId,
SoundInfo pressSoundInfo,
int releaseSoundId,
SoundInfo releaseSoundInfo)
throws java.io.IOException
tagDefineButtonSound in interface SWFTagTypesbuttonId - Description of the ParameterrollOverSoundId - Description of the ParameterrollOverSoundInfo - Description of the ParameterrollOutSoundId - Description of the ParameterrollOutSoundInfo - Description of the ParameterpressSoundId - Description of the ParameterpressSoundInfo - Description of the ParameterreleaseSoundId - Description of the ParameterreleaseSoundInfo - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagStartSound(int soundId,
SoundInfo info)
throws java.io.IOException
tagStartSound in interface SWFSpriteTagTypessoundId - Description of the Parameterinfo - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagSoundStreamHead(int playbackFrequency,
boolean playback16bit,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bit,
boolean streamStereo,
int averageSampleCount)
throws java.io.IOException
tagSoundStreamHead in interface SWFSpriteTagTypesplaybackFrequency - Description of the Parameterplayback16bit - Description of the ParameterplaybackStereo - Description of the ParameterstreamFormat - Description of the ParameterstreamFrequency - Description of the Parameterstream16bit - Description of the ParameterstreamStereo - Description of the ParameteraverageSampleCount - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagSoundStreamHead2(int playbackFrequency,
boolean playback16bit,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bit,
boolean streamStereo,
int averageSampleCount)
throws java.io.IOException
tagSoundStreamHead2 in interface SWFSpriteTagTypesplaybackFrequency - Description of the Parameterplayback16bit - Description of the ParameterplaybackStereo - Description of the ParameterstreamFormat - Description of the ParameterstreamFrequency - Description of the Parameterstream16bit - Description of the ParameterstreamStereo - Description of the ParameteraverageSampleCount - Description of the Parameter
java.io.IOException - Description of the Exception
public void writeSoundStreamHead(int tag,
int playbackFrequency,
boolean playback16bits,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bits,
boolean streamStereo,
int averageSampleCount)
throws java.io.IOException
tag - Description of the ParameterplaybackFrequency - Description of the Parameterplayback16bits - Description of the ParameterplaybackStereo - Description of the ParameterstreamFormat - Description of the ParameterstreamFrequency - Description of the Parameterstream16bits - Description of the ParameterstreamStereo - Description of the ParameteraverageSampleCount - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagSoundStreamBlock(byte[] soundData)
throws java.io.IOException
tagSoundStreamBlock in interface SWFSpriteTagTypessoundData - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagSerialNumber(java.lang.String serialNumber)
throws java.io.IOException
tagSerialNumber in interface SWFTagTypesserialNumber - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagGenerator(byte[] data)
throws java.io.IOException
tagGenerator in interface SWFTagTypesdata - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagGeneratorText(byte[] data)
throws java.io.IOException
tagGeneratorText in interface SWFTagTypesdata - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagGeneratorCommand(byte[] data)
throws java.io.IOException
tagGeneratorCommand in interface SWFTagTypesdata - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagGeneratorFont(byte[] data)
throws java.io.IOException
tagGeneratorFont in interface SWFTagTypesdata - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagNameCharacter(byte[] data)
throws java.io.IOException
tagNameCharacter in interface SWFTagTypesdata - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagDefineBits(int id,
byte[] imageData)
throws java.io.IOException
tagDefineBits in interface SWFTagTypesid - Description of the ParameterimageData - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagJPEGTables(byte[] jpegEncodingData)
throws java.io.IOException
tagJPEGTables in interface SWFTagTypesjpegEncodingData - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagDefineBitsJPEG3(int id,
byte[] imageData,
byte[] alphaData)
throws java.io.IOException
tagDefineBitsJPEG3 in interface SWFTagTypesid - Description of the ParameterimageData - Description of the ParameteralphaData - Description of the Parameter
java.io.IOException - Description of the Exception
public SWFActions tagDoAction()
throws java.io.IOException
tagDoAction in interface SWFSpriteTagTypesjava.io.IOException - Description of the Exception
public SWFShape tagDefineShape(int id,
Rect outline)
throws java.io.IOException
tagDefineShape in interface SWFTagTypesid - Description of the Parameteroutline - Description of the Parameter
java.io.IOException - Description of the Exception
public SWFShape tagDefineShape2(int id,
Rect outline)
throws java.io.IOException
tagDefineShape2 in interface SWFTagTypesid - Description of the Parameteroutline - Description of the Parameter
java.io.IOException - Description of the Exception
public SWFShape tagDefineShape3(int id,
Rect outline)
throws java.io.IOException
tagDefineShape3 in interface SWFTagTypesid - Description of the Parameteroutline - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagFreeCharacter(int charId)
throws java.io.IOException
tagFreeCharacter in interface SWFSpriteTagTypescharId - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagPlaceObject(int charId,
int depth,
Matrix matrix,
AlphaTransform cxform)
throws java.io.IOException
tagPlaceObject in interface SWFSpriteTagTypescharId - Description of the Parameterdepth - Description of the Parametermatrix - Description of the Parametercxform - Description of the Parameter
java.io.IOException - Description of the Exception
public SWFActions tagPlaceObject2(boolean isMove,
int clipDepth,
int depth,
int charId,
Matrix matrix,
AlphaTransform cxform,
int ratio,
java.lang.String name,
int clipActionFlags)
throws java.io.IOException
tagPlaceObject2 in interface SWFSpriteTagTypesisMove - Description of the ParameterclipDepth - Description of the Parameterdepth - Description of the ParametercharId - Description of the Parametermatrix - Description of the Parametercxform - Description of the Parameterratio - Description of the Parametername - Description of the ParameterclipActionFlags - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagRemoveObject(int charId,
int depth)
throws java.io.IOException
tagRemoveObject in interface SWFSpriteTagTypescharId - Description of the Parameterdepth - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagRemoveObject2(int depth)
throws java.io.IOException
tagRemoveObject2 in interface SWFSpriteTagTypesdepth - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagSetBackgroundColor(Color color)
throws java.io.IOException
tagSetBackgroundColor in interface SWFTagTypescolor - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagFrameLabel(java.lang.String label)
throws java.io.IOException
tagFrameLabel in interface SWFSpriteTagTypeslabel - Description of the Parameter
java.io.IOException - Description of the Exception
public SWFTagTypes tagDefineSprite(int id)
throws java.io.IOException
tagDefineSprite in interface SWFTagTypesid - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagProtect(byte[] password)
throws java.io.IOException
tagProtect in interface SWFTagTypespassword - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagEnableDebug(byte[] password)
throws java.io.IOException
tagEnableDebug in interface SWFTagTypespassword - Description of the Parameter
java.io.IOException - Description of the Exception
public SWFVectors tagDefineFont(int id,
int numGlyphs)
throws java.io.IOException
tagDefineFont in interface SWFTagTypesid - Description of the ParameternumGlyphs - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagDefineFontInfo(int fontId,
java.lang.String fontName,
int flags,
int[] codes)
throws java.io.IOException
tagDefineFontInfo in interface SWFTagTypesfontId - Description of the ParameterfontName - Description of the Parameterflags - Description of the Parametercodes - Description of the Parameter
java.io.IOException - Description of the Exception
public SWFVectors tagDefineFont2(int id,
int flags,
java.lang.String name,
int numGlyphs,
int ascent,
int descent,
int leading,
int[] codes,
int[] advances,
Rect[] bounds,
int[] kernCodes1,
int[] kernCodes2,
int[] kernAdjustments)
throws java.io.IOException
tagDefineFont2 in interface SWFTagTypesid - Description of the Parameterflags - Description of the Parametername - Description of the ParameternumGlyphs - Description of the Parameterascent - Description of the Parameterdescent - Description of the Parameterleading - Description of the Parametercodes - Description of the Parameteradvances - Description of the Parameterbounds - Description of the ParameterkernCodes1 - Description of the ParameterkernCodes2 - Description of the ParameterkernAdjustments - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagDefineTextField(int fieldId,
java.lang.String fieldName,
java.lang.String initialText,
Rect boundary,
int flags2,
AlphaColor textColor,
int alignment,
int fontId,
int fontSize,
int charLimit,
int leftMargin,
int rightMargin,
int indentation,
int lineSpacing)
throws java.io.IOException
tagDefineTextField in interface SWFTagTypesfieldId - Description of the ParameterfieldName - Description of the ParameterinitialText - Description of the Parameterboundary - Description of the Parameterflags - Description of the ParametertextColor - Description of the Parameteralignment - Description of the ParameterfontId - Description of the ParameterfontSize - Description of the ParametercharLimit - Description of the ParameterleftMargin - Description of the ParameterrightMargin - Description of the Parameterindentation - Description of the ParameterlineSpacing - Description of the Parameter
java.io.IOException - Description of the Exception
public SWFText tagDefineText(int id,
Rect bounds,
Matrix matrix)
throws java.io.IOException
tagDefineText in interface SWFTagTypesid - Description of the Parameterbounds - Description of the Parametermatrix - Description of the Parameter
java.io.IOException - Description of the Exception
public SWFText tagDefineText2(int id,
Rect bounds,
Matrix matrix)
throws java.io.IOException
tagDefineText2 in interface SWFTagTypesid - Description of the Parameterbounds - Description of the Parametermatrix - Description of the Parameter
java.io.IOException - Description of the Exception
public SWFActions tagDefineButton(int id,
java.util.List buttonRecords)
throws java.io.IOException
tagDefineButton in interface SWFTagTypesid - Description of the ParameterbuttonRecords - Description of the Parameter
java.io.IOException - Description of the Exceptioncom.anotherbigidea.flash.structs.ButtonRecord
public void tagButtonCXForm(int buttonId,
ColorTransform transform)
throws java.io.IOException
tagButtonCXForm in interface SWFTagTypesbuttonId - Description of the Parametertransform - Description of the Parameter
java.io.IOException - Description of the Exception
public SWFActions tagDefineButton2(int id,
boolean trackAsMenu,
java.util.List buttonRecord2s)
throws java.io.IOException
tagDefineButton2 in interface SWFTagTypesid - Description of the ParametertrackAsMenu - Description of the ParameterbuttonRecord2s - Description of the Parameter
java.io.IOException - Description of the Exceptioncom.anotherbigidea.flash.structs.ButtonRecord2
public void tagExport(java.lang.String[] names,
int[] ids)
throws java.io.IOException
tagExport in interface SWFTagTypesnames - Description of the Parameterids - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagImport(java.lang.String movieName,
java.lang.String[] names,
int[] ids)
throws java.io.IOException
tagImport in interface SWFTagTypesmovieName - Description of the Parameternames - Description of the Parameterids - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagDefineQuickTimeMovie(int id,
java.lang.String filename)
throws java.io.IOException
tagDefineQuickTimeMovie in interface SWFTagTypesid - Description of the Parameterfilename - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagDefineBitsJPEG2(int id,
byte[] data)
throws java.io.IOException
tagDefineBitsJPEG2 in interface SWFTagTypesid - Description of the Parameterdata - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagDefineBitsLossless(int id,
int format,
int width,
int height,
Color[] colors,
byte[] imageData)
throws java.io.IOException
tagDefineBitsLossless in interface SWFTagTypesid - Description of the Parameterformat - Description of the Parameterwidth - Description of the Parameterheight - Description of the Parametercolors - Description of the ParameterimageData - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagDefineBitsLossless2(int id,
int format,
int width,
int height,
Color[] colors,
byte[] imageData)
throws java.io.IOException
tagDefineBitsLossless2 in interface SWFTagTypesid - Description of the Parameterformat - Description of the Parameterwidth - Description of the Parameterheight - Description of the Parametercolors - Description of the ParameterimageData - Description of the Parameter
java.io.IOException - Description of the Exception
public void writeBitsLossless(int id,
int format,
int width,
int height,
Color[] colors,
byte[] imageData,
boolean hasAlpha)
throws java.io.IOException
id - Description of the Parameterformat - Description of the Parameterwidth - Description of the Parameterheight - Description of the Parametercolors - Description of the ParameterimageData - Description of the ParameterhasAlpha - Description of the Parameter
java.io.IOException - Description of the Exception
public void tagDefineBitsJPEG2(int id,
java.io.InputStream jpegImage)
throws java.io.IOException
tagDefineBitsJPEG2 in interface SWFTagTypesid - Description of the ParameterjpegImage - Description of the Parameter
java.io.IOException - Description of the Exception
public SWFShape tagDefineMorphShape(int id,
Rect startBounds,
Rect endBounds)
throws java.io.IOException
tagDefineMorphShape in interface SWFTagTypesid - Description of the ParameterstartBounds - Description of the ParameterendBounds - Description of the Parameter
java.io.IOException - Description of the Exception
protected SWFText defineText(Rect bounds,
Matrix matrix,
boolean hasAlpha)
throws java.io.IOException
bounds - Description of the Parametermatrix - Description of the ParameterhasAlpha - Description of the Parameter
java.io.IOException - Description of the Exception
protected void startShape(int tagType,
int id,
Rect outline)
throws java.io.IOException
tagType - Description of the Parameterid - Description of the Parameteroutline - 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 | |||||||||