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,- java.lang.Cloneable
 
 public class RMFlashTextShape extends RMFlashShape This class writes an RMText shape to flash.
- 
- 
Constructor SummaryConstructors Constructor Description RMFlashTextShape(RMShape aShape)Creates a new flash text shape from an RMText.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFrag(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)RMColorgetColor()Returns the text color of the RMText for the first char.RMColorgetColorNext()Returns the text color of the RMText for the current time.RMColorgetColorZero()Returns the text color of the RMText for the first char at time zero.RMRectgetFragBounds(RMTextFrag frag)RMFlashShapegetFragShape(int anIndex)Returns the specific frag shape at the given index.intgetFragShapeCount()Returns the number of frag shapes.RMTextgetText()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, java.util.Vector glyphs, java.lang.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, updateFlashChildren
 - 
Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
 
- 
 
- 
- 
- 
Constructor Detail- 
RMFlashTextShapepublic RMFlashTextShape(RMShape aShape) Creates a new flash text shape from an RMText.
 
- 
 - 
Method Detail- 
getTextpublic RMText getText() Returns the flash shape's RMShape as an RMText.
 - 
getFragShapeCountpublic int getFragShapeCount() Returns the number of frag shapes.
 - 
getFragShapepublic RMFlashShape getFragShape(int anIndex) Returns the specific frag shape at the given index.
 - 
getColorpublic RMColor getColor() Returns the text color of the RMText for the first char.- Overrides:
- getColorin class- RMFlashShape
 
 - 
getColorZeropublic RMColor getColorZero() Returns the text color of the RMText for the first char at time zero.- Overrides:
- getColorZeroin class- RMFlashShape
 
 - 
getColorNextpublic RMColor getColorNext() Returns the text color of the RMText for the current time.- Overrides:
- getColorNextin class- RMFlashShape
 
 - 
defineFlashpublic void defineFlash(RMFlash flash) Writes flash commands to the given flash object for the encapsulated RMText.- Overrides:
- defineFlashin class- RMFlashShape
 
 - 
updateFlashpublic void updateFlash(RMFlash flash) Writes flash commands for the encapsulated RMText for the current time.- Overrides:
- updateFlashin class- RMFlashShape
 
 - 
removeFlashpublic void removeFlash(RMFlash flash) - Overrides:
- removeFlashin class- RMFlashShape
 
 - 
addFragpublic void addFrag(RMFlash aFlash, RMTextFrag aFrag, float x, float y, RMPoint lastPoint) 
 - 
getFragBoundspublic RMRect getFragBounds(RMTextFrag frag) 
 - 
defineFontspublic static void defineFonts(RMFlash flash) 
 - 
writeGlyphsForFontNamepublic static void writeGlyphsForFontName(RMFlash flash, java.util.Vector glyphs, java.lang.String fontName) 
 
- 
 
-