public class RMFlashTextShape extends RMFlashShape
| Constructor and Description |
|---|
RMFlashTextShape(RMShape aShape)
Creates a new flash text shape from an RMText.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFrag(RMFlash aFlash,
RMTextFrag aFrag,
float x,
float y,
RMPoint lastPoint) |
void |
defineFlash(RMFlash flash)
Writes flash commands to the given flash object for the encapsulated RMText.
|
static void |
defineFonts(RMFlash flash) |
RMColor |
getColor()
Returns the text color of the RMText for the first char.
|
RMColor |
getColorNext()
Returns the text color of the RMText for the current time.
|
RMColor |
getColorZero()
Returns the text color of the RMText for the first char at time zero.
|
RMRect |
getFragBounds(RMTextFrag frag) |
RMFlashShape |
getFragShape(int anIndex)
Returns the specific frag shape at the given index.
|
int |
getFragShapeCount()
Returns the number of frag shapes.
|
RMText |
getText()
Returns the flash shape's RMShape as an RMText.
|
void |
removeFlash(RMFlash flash) |
void |
updateFlash(RMFlash flash)
Writes flash commands for the encapsulated RMText for the current time.
|
static void |
writeGlyphsForFontName(RMFlash flash,
java.util.Vector glyphs,
java.lang.String fontName) |
defineFlashChildren, defineFlashFill, getActionScript, getChild, getChildCount, getDrawsFill, getDrawsStroke, getFill, getMorphRatio, getNextOpacity, getNextTransform, getShape, getStroke, needsTransformUpdate, newFlashShape, newFlashShapePrimitive, removeFlashChildren, setShapeId, updateFlashChildrenclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEqualspublic RMFlashTextShape(RMShape aShape)
public RMText getText()
public int getFragShapeCount()
public RMFlashShape getFragShape(int anIndex)
public RMColor getColor()
getColor in class RMFlashShapepublic RMColor getColorZero()
getColorZero in class RMFlashShapepublic RMColor getColorNext()
getColorNext in class RMFlashShapepublic void defineFlash(RMFlash flash)
defineFlash in class RMFlashShapepublic void updateFlash(RMFlash flash)
updateFlash in class RMFlashShapepublic void removeFlash(RMFlash flash)
removeFlash in class RMFlashShapepublic void addFrag(RMFlash aFlash, RMTextFrag aFrag, float x, float y, RMPoint lastPoint)
public RMRect getFragBounds(RMTextFrag frag)
public static void defineFonts(RMFlash flash)
public static void writeGlyphsForFontName(RMFlash flash, java.util.Vector glyphs, java.lang.String fontName)