Package com.reportmill.flash
Class RMFlash
- java.lang.Object
- 
- com.reportmill.flash.RMFlash
 
- 
 public class RMFlash extends java.lang.ObjectThis class write an RM document to a flash bufer.
- 
- 
Constructor SummaryConstructors Constructor Description RMFlash(RMDocument aDoc)Creates a flash writer for given doc.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginRecordWithTagId(int tagId)voiddefinePath(RMPath path, RMRect bounds, boolean drawsFill, boolean drawsStroke)Writes the given path to the flash buffer.voiddefineSounds()Write registered sound data to flash buffer.voidendRecord()byte[]getBytesFlash()Returns the flash bytes for this flash/document writer.intindexOfImageData(RMImageData anImageData)Get index of given image data in flash buffer (add it if missing).intindexOfSoundData(RMSoundData aSoundData)Get index of given sound data in flash buffer (add it if missing).intshapeIdMax()Returns the next available shape character id.voidshowFrame()Write tagShowFrame to display contents of display list on screen with tagLen 0.voidwriteColor(RMColor aColor)Writes given color to flash buffer.voidwriteColorWithAlpha(RMColor aColor)Writes given color (with alpha) to flash buffer.voidwritePlaceObject2(int shapeId, int depth, RMTransform t, float ratio, boolean addToDisplayList, java.lang.String aName, RMColor fromColor, RMColor toColor, float opacity, byte[] eventActions)voidwritePlaceObject2(RMFlashShape aShape)voidwriteRect(RMRect aRect)Writes given rect to flash buffer.voidwriteShapeRecordType1(int fill, int stroke, RMPoint aPoint)voidwriteShapeRecordType2(RMPoint aPoint)voidwriteShapeRecordType2(RMPoint controlPoint, RMPoint anchorPoint)voidwriteString(java.lang.String aString)Writes given string to flash buffer.
 
- 
- 
- 
Constructor Detail- 
RMFlashpublic RMFlash(RMDocument aDoc) Creates a flash writer for given doc.
 
- 
 - 
Method Detail- 
getBytesFlashpublic byte[] getBytesFlash() Returns the flash bytes for this flash/document writer.
 - 
indexOfImageDatapublic int indexOfImageData(RMImageData anImageData) Get index of given image data in flash buffer (add it if missing).
 - 
indexOfSoundDatapublic int indexOfSoundData(RMSoundData aSoundData) Get index of given sound data in flash buffer (add it if missing).
 - 
defineSoundspublic void defineSounds() Write registered sound data to flash buffer.
 - 
showFramepublic void showFrame() Write tagShowFrame to display contents of display list on screen with tagLen 0.
 - 
shapeIdMaxpublic int shapeIdMax() Returns the next available shape character id.
 - 
definePathpublic void definePath(RMPath path, RMRect bounds, boolean drawsFill, boolean drawsStroke) Writes the given path to the flash buffer.
 - 
beginRecordWithTagIdpublic void beginRecordWithTagId(int tagId) 
 - 
endRecordpublic void endRecord() 
 - 
writeRectpublic void writeRect(RMRect aRect) Writes given rect to flash buffer.
 - 
writeColorpublic void writeColor(RMColor aColor) Writes given color to flash buffer.
 - 
writeColorWithAlphapublic void writeColorWithAlpha(RMColor aColor) Writes given color (with alpha) to flash buffer.
 - 
writeStringpublic void writeString(java.lang.String aString) Writes given string to flash buffer.
 - 
writeShapeRecordType1public void writeShapeRecordType1(int fill, int stroke, RMPoint aPoint)
 - 
writeShapeRecordType2public void writeShapeRecordType2(RMPoint aPoint) 
 - 
writePlaceObject2public void writePlaceObject2(RMFlashShape aShape) 
 - 
writePlaceObject2public void writePlaceObject2(int shapeId, int depth, RMTransform t, float ratio, boolean addToDisplayList, java.lang.String aName, RMColor fromColor, RMColor toColor, float opacity, byte[] eventActions)
 
- 
 
-