|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.SWFTagDumper
public class SWFTagDumper
An implementation of the SWFTagTypes interface that produces a debug dump
| Field Summary | |
|---|---|
protected java.lang.String |
dashes
Description of the Field |
protected boolean |
decompileActions
Description of the Field |
protected boolean |
dumpHex
Description of the Field |
protected java.lang.String |
indent
Description of the Field |
protected java.io.PrintWriter |
writer
Description of the Field |
| Constructor Summary | |
|---|---|
SWFTagDumper(boolean dumpHex,
boolean decompileActions)
Dump to System.out |
|
SWFTagDumper(java.io.OutputStream out,
boolean dumpHex,
boolean decompileActions)
Dump to the given output stream |
|
SWFTagDumper(java.io.PrintWriter writer,
boolean dumpHex,
boolean decompileActions)
Constructor for the SWFTagDumper object |
|
| Method Summary | |
|---|---|
void |
color(Color color)
SWFText interface |
void |
curve(int cx,
int cy,
int dx,
int dy)
SWFVectors interface |
void |
defineFillStyle(Color color)
SWFShape interface |
void |
defineFillStyle(int bitmapId,
Matrix matrix,
boolean clipped)
SWFShape interface |
void |
defineFillStyle(Matrix matrix,
int[] ratios,
Color[] colors,
boolean radial)
SWFShape interface |
void |
defineLineStyle(int width,
Color color)
SWFShape interface |
void |
done()
SWFVectors interface SWFText interface |
void |
dumpBitsLossless(java.lang.String name,
int id,
int format,
int width,
int height,
Color[] colors,
byte[] imageData)
Description of the Method |
void |
flush()
Description of the Method |
void |
font(int fontId,
int textHeight)
SWFText interface |
void |
header(int version,
long length,
int twipsWidth,
int twipsHeight,
int frameRate,
int frameCount)
SWFHeader interface. |
void |
line(int dx,
int dy)
SWFVectors interface |
static void |
main(java.lang.String[] args)
args[0] = name of SWF file to dump to System.out args[1] = if exists then dump-hex is true (dumps binary as hex - otherwise skips) args[2] = if exists then decompiles action codes |
void |
move(int x,
int y)
SWFVectors interface |
protected void |
println(java.lang.String line)
Description of the Method |
void |
printSoundStreamHead(java.lang.String name,
int playbackFrequency,
boolean playback16bit,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bit,
boolean streamStereo,
int averageSampleCount)
Description of the Method |
void |
setFillStyle0(int styleIndex)
SWFShape interface |
void |
setFillStyle1(int styleIndex)
SWFShape interface |
void |
setLineStyle(int styleIndex)
SWFShape interface |
void |
setX(int x)
SWFText interface |
void |
setY(int y)
SWFText interface |
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 flags,
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 |
text(int[] glyphIndices,
int[] glyphAdvances)
SWFText interface |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.io.PrintWriter writer
protected java.lang.String dashes
protected boolean dumpHex
protected java.lang.String indent
protected boolean decompileActions
| Constructor Detail |
|---|
public SWFTagDumper(boolean dumpHex,
boolean decompileActions)
dumpHex - if true then binary data will dumped as hex -
otherwise skippeddecompileActions - Description of the Parameter
public SWFTagDumper(java.io.OutputStream out,
boolean dumpHex,
boolean decompileActions)
dumpHex - if true then binary data will dumped as hex -
otherwise skippedout - Description of the ParameterdecompileActions - Description of the Parameter
public SWFTagDumper(java.io.PrintWriter writer,
boolean dumpHex,
boolean decompileActions)
writer - Description of the ParameterdumpHex - Description of the ParameterdecompileActions - Description of the Parameter| Method Detail |
|---|
protected void println(java.lang.String line)
line - Description of the Parameter
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 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 printSoundStreamHead(java.lang.String name,
int playbackFrequency,
boolean playback16bit,
boolean playbackStereo,
int streamFormat,
int streamFrequency,
boolean stream16bit,
boolean streamStereo,
int averageSampleCount)
throws java.io.IOException
name - Description of the ParameterplaybackFrequency - 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 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 tagGeneratorFont(byte[] data)
throws java.io.IOException
tagGeneratorFont 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 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 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 tagShowFrame()
throws java.io.IOException
tagShowFrame in interface SWFSpriteTagTypesjava.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 flags,
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 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
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 dumpBitsLossless(java.lang.String name,
int id,
int format,
int width,
int height,
Color[] colors,
byte[] imageData)
throws java.io.IOException
name - Description of the Parameterid - 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 done()
throws java.io.IOException
done in interface SWFTextdone in interface SWFVectorsjava.io.IOException - Description of the Exception
public void line(int dx,
int dy)
throws java.io.IOException
line in interface SWFVectorsdx - Description of the Parameterdy - Description of the Parameter
java.io.IOException - Description of the Exception
public void curve(int cx,
int cy,
int dx,
int dy)
throws java.io.IOException
curve in interface SWFVectorscx - Description of the Parametercy - Description of the Parameterdx - Description of the Parameterdy - Description of the Parameter
java.io.IOException - Description of the Exception
public void move(int x,
int y)
throws java.io.IOException
move in interface SWFVectorsx - Description of the Parametery - Description of the Parameter
java.io.IOException - Description of the Exception
public void setFillStyle0(int styleIndex)
throws java.io.IOException
setFillStyle0 in interface SWFShapestyleIndex - The new fillStyle0 value
java.io.IOException - Description of the Exception
public void setFillStyle1(int styleIndex)
throws java.io.IOException
setFillStyle1 in interface SWFShapestyleIndex - The new fillStyle1 value
java.io.IOException - Description of the Exception
public void setLineStyle(int styleIndex)
throws java.io.IOException
setLineStyle in interface SWFShapestyleIndex - The new lineStyle value
java.io.IOException - Description of the Exception
public void defineFillStyle(Color color)
throws java.io.IOException
defineFillStyle in interface SWFShapecolor - Description of the Parameter
java.io.IOException - Description of the Exception
public void defineFillStyle(Matrix matrix,
int[] ratios,
Color[] colors,
boolean radial)
throws java.io.IOException
defineFillStyle in interface SWFShapematrix - Description of the Parameterratios - Description of the Parametercolors - Description of the Parameterradial - Description of the Parameter
java.io.IOException - Description of the Exception
public void defineFillStyle(int bitmapId,
Matrix matrix,
boolean clipped)
throws java.io.IOException
defineFillStyle in interface SWFShapebitmapId - Description of the Parametermatrix - Description of the Parameterclipped - Description of the Parameter
java.io.IOException - Description of the Exception
public void defineLineStyle(int width,
Color color)
throws java.io.IOException
defineLineStyle in interface SWFShapewidth - Description of the Parametercolor - Description of the Parameter
java.io.IOException - Description of the Exception
public void font(int fontId,
int textHeight)
throws java.io.IOException
font in interface SWFTextfontId - Description of the ParametertextHeight - Description of the Parameter
java.io.IOException - Description of the Exception
public void color(Color color)
throws java.io.IOException
color in interface SWFTextcolor - Description of the Parameter
java.io.IOException - Description of the Exception
public void setX(int x)
throws java.io.IOException
setX in interface SWFTextx - The new x value
java.io.IOException - Description of the Exception
public void setY(int y)
throws java.io.IOException
setY in interface SWFTexty - The new y value
java.io.IOException - Description of the Exception
public void text(int[] glyphIndices,
int[] glyphAdvances)
throws java.io.IOException
text in interface SWFTextglyphIndices - Description of the ParameterglyphAdvances - Description of the Parameter
java.io.IOException - Description of the Exception
public void flush()
throws java.io.IOException
java.io.IOException - Description of the Exception
public static void main(java.lang.String[] args)
throws java.io.IOException
args - The command line arguments
java.io.IOException - Description of the Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||