public class RMFlashMorphShape extends RMFlashShape
| Constructor and Description |
|---|
RMFlashMorphShape(RMShape aShape,
java.util.Map morphMap,
int fillIndex)
Create flash morph shape.
|
| Modifier and Type | Method and Description |
|---|---|
void |
defineFlash(RMFlash flash)
Defines the flash for this shape.
|
static java.lang.Number |
getMorphFrameAfterTime(RMShape aShape,
float aTime,
int fillIndex)
Returns the next time (after a given time) that a given shape has a "Morph" change (width, height, color,
line-width, stroke-color).
|
static java.util.Map |
getMorphMap(RMShape aShape,
float aTime,
int fillIndex) |
float |
getMorphRatio(RMFlash aFlash)
Return the current morph ratio (valid during frame generation).
|
boolean |
needsTransformUpdate()
Returns whether shape needs explicit transform update (valid for flash morph shape during frame generation).
|
defineFlashChildren, defineFlashFill, getActionScript, getChild, getChildCount, getColor, getColorNext, getColorZero, getDrawsFill, getDrawsStroke, getFill, getNextOpacity, getNextTransform, getShape, getStroke, newFlashShape, newFlashShapePrimitive, removeFlash, removeFlashChildren, setShapeId, updateFlash, updateFlashChildrenclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEqualspublic RMFlashMorphShape(RMShape aShape, java.util.Map morphMap, int fillIndex)
public float getMorphRatio(RMFlash aFlash)
getMorphRatio in class RMFlashShapepublic boolean needsTransformUpdate()
RMFlashShapeneedsTransformUpdate in class RMFlashShapepublic void defineFlash(RMFlash flash)
RMFlashShapedefineFlash in class RMFlashShapepublic static java.util.Map getMorphMap(RMShape aShape, float aTime, int fillIndex)
public static java.lang.Number getMorphFrameAfterTime(RMShape aShape, float aTime, int fillIndex)