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, updateFlashChildren
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public RMFlashTextShape(RMShape aShape)
public RMText getText()
public int getFragShapeCount()
public RMFlashShape getFragShape(int anIndex)
public RMColor getColor()
getColor
in class RMFlashShape
public RMColor getColorZero()
getColorZero
in class RMFlashShape
public RMColor getColorNext()
getColorNext
in class RMFlashShape
public void defineFlash(RMFlash flash)
defineFlash
in class RMFlashShape
public void updateFlash(RMFlash flash)
updateFlash
in class RMFlashShape
public void removeFlash(RMFlash flash)
removeFlash
in class RMFlashShape
public 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)