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, updateFlashChildren
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public RMFlashMorphShape(RMShape aShape, java.util.Map morphMap, int fillIndex)
public float getMorphRatio(RMFlash aFlash)
getMorphRatio
in class RMFlashShape
public boolean needsTransformUpdate()
RMFlashShape
needsTransformUpdate
in class RMFlashShape
public void defineFlash(RMFlash flash)
RMFlashShape
defineFlash
in class RMFlashShape
public static java.util.Map getMorphMap(RMShape aShape, float aTime, int fillIndex)
public static java.lang.Number getMorphFrameAfterTime(RMShape aShape, float aTime, int fillIndex)