Package com.reportmill.flash
Class RMFlashTextShape
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.flash.RMFlashShape
com.reportmill.flash.RMFlashTextShape
- All Implemented Interfaces:
- RMArchiver.Archiving,- Cloneable
This class writes an RMText shape to flash.
- 
Constructor SummaryConstructorsConstructorDescriptionRMFlashTextShape(RMShape aShape) Creates a new flash text shape from an RMText.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddFrag(RMFlash aFlash, RMTextFrag aFrag, float x, float y, RMPoint lastPoint) voiddefineFlash(RMFlash flash) Writes flash commands to the given flash object for the encapsulated RMText.static voiddefineFonts(RMFlash flash) getColor()Returns the text color of the RMText for the first char.Returns the text color of the RMText for the current time.Returns the text color of the RMText for the first char at time zero.getFragBounds(RMTextFrag frag) getFragShape(int anIndex) Returns the specific frag shape at the given index.intReturns the number of frag shapes.getText()Returns the flash shape's RMShape as an RMText.voidremoveFlash(RMFlash flash) voidupdateFlash(RMFlash flash) Writes flash commands for the encapsulated RMText for the current time.static voidwriteGlyphsForFontName(RMFlash flash, Vector glyphs, String fontName) Methods inherited from class com.reportmill.flash.RMFlashShapedefineFlashChildren, defineFlashFill, getActionScript, getChild, getChildCount, getDrawsFill, getDrawsStroke, getFill, getMorphRatio, getNextOpacity, getNextTransform, getShape, getStroke, needsTransformUpdate, newFlashShape, newFlashShapePrimitive, removeFlashChildren, setShapeId, updateFlashChildrenMethods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Constructor Details- 
RMFlashTextShapeCreates a new flash text shape from an RMText.
 
- 
- 
Method Details- 
getTextReturns the flash shape's RMShape as an RMText.
- 
getFragShapeCountpublic int getFragShapeCount()Returns the number of frag shapes.
- 
getFragShapeReturns the specific frag shape at the given index.
- 
getColorReturns the text color of the RMText for the first char.- Overrides:
- getColorin class- RMFlashShape
 
- 
getColorZeroReturns the text color of the RMText for the first char at time zero.- Overrides:
- getColorZeroin class- RMFlashShape
 
- 
getColorNextReturns the text color of the RMText for the current time.- Overrides:
- getColorNextin class- RMFlashShape
 
- 
defineFlashWrites flash commands to the given flash object for the encapsulated RMText.- Overrides:
- defineFlashin class- RMFlashShape
 
- 
updateFlashWrites flash commands for the encapsulated RMText for the current time.- Overrides:
- updateFlashin class- RMFlashShape
 
- 
removeFlash- Overrides:
- removeFlashin class- RMFlashShape
 
- 
addFrag
- 
getFragBounds
- 
defineFonts
- 
writeGlyphsForFontName
 
-