public class RMFlashShape extends RMObject
Constructor and Description |
---|
RMFlashShape(RMShape aShape,
int fillIndex)
Creates a new flash-shape from the given shape.
|
Modifier and Type | Method and Description |
---|---|
void |
defineFlash(RMFlash flash)
Defines the flash for this shape.
|
void |
defineFlashChildren(RMFlash flash) |
void |
defineFlashFill(RMFlash flash) |
java.lang.String |
getActionScript()
Returns the shape actionscript.
|
RMFlashShape |
getChild(int anIndex)
Returns the specific flash-shape child at the given index.
|
int |
getChildCount()
Returns the number of flash-shape children of this flash-shape.
|
RMColor |
getColor()
Returns the current shape text color.
|
RMColor |
getColorNext()
Returns the next shape text color.
|
RMColor |
getColorZero()
Returns the original shape text color.
|
boolean |
getDrawsFill()
Returns whether this flash shape draws a fill.
|
boolean |
getDrawsStroke()
Returns whether this flash shape draws a stroke.
|
RMFill |
getFill()
Returns the shape fill.
|
float |
getMorphRatio(RMFlash flash)
Returns the current morph ratio (valid for flash morph shape during frame generation.
|
float |
getNextOpacity()
Returns the next opacity for this shape.
|
RMTransform |
getNextTransform()
Returns the next transform for this shape.
|
RMShape |
getShape()
Returns the RMShape encapsulated by this flash-shape.
|
RMStroke |
getStroke()
Returns the shape fill as a stroke.
|
boolean |
needsTransformUpdate()
Returns whether shape needs explicit transform update (valid for flash morph shape during frame generation).
|
static RMFlashShape |
newFlashShape(RMShape aShape,
RMFlash aFlash)
Creates a new flash-shape (or subclass) from the given shape and flash writer.
|
static RMFlashShape |
newFlashShapePrimitive(RMShape aShape)
Creates a new flash shape for rm shape's that really just draw (rect, polygon, image, text).
|
void |
removeFlash(RMFlash flash) |
void |
removeFlashChildren(RMFlash flash) |
void |
setShapeId(int aShapeId)
Sets the flash character id of this flash shape.
|
void |
updateFlash(RMFlash flash) |
void |
updateFlashChildren(RMFlash flash) |
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public RMFlashShape(RMShape aShape, int fillIndex)
public static RMFlashShape newFlashShape(RMShape aShape, RMFlash aFlash)
public static RMFlashShape newFlashShapePrimitive(RMShape aShape)
public RMShape getShape()
public int getChildCount()
public RMFlashShape getChild(int anIndex)
public boolean getDrawsStroke()
public boolean getDrawsFill()
public RMFill getFill()
public RMStroke getStroke()
public void setShapeId(int aShapeId)
public RMTransform getNextTransform()
public float getNextOpacity()
public void defineFlash(RMFlash flash)
public void defineFlashFill(RMFlash flash)
public void updateFlash(RMFlash flash)
public void removeFlash(RMFlash flash)
public void defineFlashChildren(RMFlash flash)
public void updateFlashChildren(RMFlash flash)
public void removeFlashChildren(RMFlash flash)
public float getMorphRatio(RMFlash flash)
public boolean needsTransformUpdate()
public RMColor getColor()
public RMColor getColorZero()
public RMColor getColorNext()
public java.lang.String getActionScript()