|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.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 ParameterMethod 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 Parameterprotected 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 Exceptionprotected void completeTag() throws java.io.IOException
java.io.IOException
- Description of the Exceptionpublic void tag(int tagType, boolean longTag, byte[] contents) throws java.io.IOException
tag
in interface SWFTags
tagType
- Description of the ParameterlongTag
- Description of the Parametercontents
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void header(int version, long length, int twipsWidth, int twipsHeight, int frameRate, int frameCount) throws java.io.IOException
header
in interface SWFHeader
version
- 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 Exceptionpublic void tagEnd() throws java.io.IOException
tagEnd
in interface SWFSpriteTagTypes
java.io.IOException
- Description of the Exceptionpublic void tagShowFrame() throws java.io.IOException
tagShowFrame
in interface SWFSpriteTagTypes
java.io.IOException
- Description of the Exceptionpublic void tagDefineSound(int id, int format, int frequency, boolean bits16, boolean stereo, int sampleCount, byte[] soundData) throws java.io.IOException
tagDefineSound
in interface SWFTagTypes
id
- 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 Exceptionpublic 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 SWFTagTypes
buttonId
- 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 Exceptionpublic void tagStartSound(int soundId, SoundInfo info) throws java.io.IOException
tagStartSound
in interface SWFSpriteTagTypes
soundId
- Description of the Parameterinfo
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic 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 SWFSpriteTagTypes
playbackFrequency
- 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 Exceptionpublic 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 SWFSpriteTagTypes
playbackFrequency
- 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 Exceptionpublic 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 Exceptionpublic void tagSoundStreamBlock(byte[] soundData) throws java.io.IOException
tagSoundStreamBlock
in interface SWFSpriteTagTypes
soundData
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagSerialNumber(java.lang.String serialNumber) throws java.io.IOException
tagSerialNumber
in interface SWFTagTypes
serialNumber
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagGenerator(byte[] data) throws java.io.IOException
tagGenerator
in interface SWFTagTypes
data
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagGeneratorText(byte[] data) throws java.io.IOException
tagGeneratorText
in interface SWFTagTypes
data
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagGeneratorCommand(byte[] data) throws java.io.IOException
tagGeneratorCommand
in interface SWFTagTypes
data
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagGeneratorFont(byte[] data) throws java.io.IOException
tagGeneratorFont
in interface SWFTagTypes
data
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagNameCharacter(byte[] data) throws java.io.IOException
tagNameCharacter
in interface SWFTagTypes
data
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagDefineBits(int id, byte[] imageData) throws java.io.IOException
tagDefineBits
in interface SWFTagTypes
id
- Description of the ParameterimageData
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagJPEGTables(byte[] jpegEncodingData) throws java.io.IOException
tagJPEGTables
in interface SWFTagTypes
jpegEncodingData
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagDefineBitsJPEG3(int id, byte[] imageData, byte[] alphaData) throws java.io.IOException
tagDefineBitsJPEG3
in interface SWFTagTypes
id
- Description of the ParameterimageData
- Description of the ParameteralphaData
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic SWFActions tagDoAction() throws java.io.IOException
tagDoAction
in interface SWFSpriteTagTypes
java.io.IOException
- Description of the Exceptionpublic SWFShape tagDefineShape(int id, Rect outline) throws java.io.IOException
tagDefineShape
in interface SWFTagTypes
id
- Description of the Parameteroutline
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic SWFShape tagDefineShape2(int id, Rect outline) throws java.io.IOException
tagDefineShape2
in interface SWFTagTypes
id
- Description of the Parameteroutline
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic SWFShape tagDefineShape3(int id, Rect outline) throws java.io.IOException
tagDefineShape3
in interface SWFTagTypes
id
- Description of the Parameteroutline
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagFreeCharacter(int charId) throws java.io.IOException
tagFreeCharacter
in interface SWFSpriteTagTypes
charId
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagPlaceObject(int charId, int depth, Matrix matrix, AlphaTransform cxform) throws java.io.IOException
tagPlaceObject
in interface SWFSpriteTagTypes
charId
- Description of the Parameterdepth
- Description of the Parametermatrix
- Description of the Parametercxform
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic 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 SWFSpriteTagTypes
isMove
- 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 Exceptionpublic void tagRemoveObject(int charId, int depth) throws java.io.IOException
tagRemoveObject
in interface SWFSpriteTagTypes
charId
- Description of the Parameterdepth
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagRemoveObject2(int depth) throws java.io.IOException
tagRemoveObject2
in interface SWFSpriteTagTypes
depth
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagSetBackgroundColor(Color color) throws java.io.IOException
tagSetBackgroundColor
in interface SWFTagTypes
color
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagFrameLabel(java.lang.String label) throws java.io.IOException
tagFrameLabel
in interface SWFSpriteTagTypes
label
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic SWFTagTypes tagDefineSprite(int id) throws java.io.IOException
tagDefineSprite
in interface SWFTagTypes
id
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagProtect(byte[] password) throws java.io.IOException
tagProtect
in interface SWFTagTypes
password
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagEnableDebug(byte[] password) throws java.io.IOException
tagEnableDebug
in interface SWFTagTypes
password
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic SWFVectors tagDefineFont(int id, int numGlyphs) throws java.io.IOException
tagDefineFont
in interface SWFTagTypes
id
- Description of the ParameternumGlyphs
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagDefineFontInfo(int fontId, java.lang.String fontName, int flags, int[] codes) throws java.io.IOException
tagDefineFontInfo
in interface SWFTagTypes
fontId
- Description of the ParameterfontName
- Description of the Parameterflags
- Description of the Parametercodes
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic 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 SWFTagTypes
id
- 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 Exceptionpublic 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 SWFTagTypes
fieldId
- 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 Exceptionpublic SWFText tagDefineText(int id, Rect bounds, Matrix matrix) throws java.io.IOException
tagDefineText
in interface SWFTagTypes
id
- Description of the Parameterbounds
- Description of the Parametermatrix
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic SWFText tagDefineText2(int id, Rect bounds, Matrix matrix) throws java.io.IOException
tagDefineText2
in interface SWFTagTypes
id
- Description of the Parameterbounds
- Description of the Parametermatrix
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic SWFActions tagDefineButton(int id, java.util.List buttonRecords) throws java.io.IOException
tagDefineButton
in interface SWFTagTypes
id
- 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 SWFTagTypes
buttonId
- Description of the Parametertransform
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic SWFActions tagDefineButton2(int id, boolean trackAsMenu, java.util.List buttonRecord2s) throws java.io.IOException
tagDefineButton2
in interface SWFTagTypes
id
- 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 SWFTagTypes
names
- Description of the Parameterids
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagImport(java.lang.String movieName, java.lang.String[] names, int[] ids) throws java.io.IOException
tagImport
in interface SWFTagTypes
movieName
- Description of the Parameternames
- Description of the Parameterids
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagDefineQuickTimeMovie(int id, java.lang.String filename) throws java.io.IOException
tagDefineQuickTimeMovie
in interface SWFTagTypes
id
- Description of the Parameterfilename
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagDefineBitsJPEG2(int id, byte[] data) throws java.io.IOException
tagDefineBitsJPEG2
in interface SWFTagTypes
id
- Description of the Parameterdata
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void tagDefineBitsLossless(int id, int format, int width, int height, Color[] colors, byte[] imageData) throws java.io.IOException
tagDefineBitsLossless
in interface SWFTagTypes
id
- 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 Exceptionpublic void tagDefineBitsLossless2(int id, int format, int width, int height, Color[] colors, byte[] imageData) throws java.io.IOException
tagDefineBitsLossless2
in interface SWFTagTypes
id
- 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 Exceptionpublic 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 Exceptionpublic void tagDefineBitsJPEG2(int id, java.io.InputStream jpegImage) throws java.io.IOException
tagDefineBitsJPEG2
in interface SWFTagTypes
id
- Description of the ParameterjpegImage
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic SWFShape tagDefineMorphShape(int id, Rect startBounds, Rect endBounds) throws java.io.IOException
tagDefineMorphShape
in interface SWFTagTypes
id
- Description of the ParameterstartBounds
- Description of the ParameterendBounds
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected 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 Exceptionprotected 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 |