public class RMAnimPathShape extends RMPolygonShape
Modifier and Type | Class and Description |
---|---|
static class |
RMAnimPathShape.RMAnimPathGroup
A shape subclass that adds the ability to be rotated about an arbitrary point.
|
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
Constructor and Description |
---|
RMAnimPathShape()
Creates a new RMAnimPathShape.
|
RMAnimPathShape(RMShape aShape)
Creates an animpath shape from another shape.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(RMShape aChild,
int anIndex)
Override add child to handle animated child shape special
|
RMAnimPathShape |
clone()
Standard clone implementation.
|
boolean |
contains(RMPoint aPoint)
Overridden to just reflect bounds of anim child.
|
RMShape |
getAnimChild()
Returns the animated child shape.
|
RMRect |
getBoundsMarked()
Overridden to just reflect bounds of anim child.
|
RMRect |
getBoundsMarkedDeep()
Overridden to just reflect bounds of anim child.
|
int |
getChildOrigin()
Returns the child origin.
|
float |
getDistance()
Returns distance along the path where children are positioned.
|
boolean |
getPreservesOrientation()
Returns whether the children will have their rotation adjusted as they move along the path.
|
RMLine[] |
getSegments()
Builds the segment list and caches it
|
float |
getTotalLength()
Returns the actual total arclength of the curve.
|
void |
paintShape(RMShapePainter aPntr)
Overridden to skip painting at preview time and to paint stroke (anim path) under child.
|
void |
paintShapeOver(RMShapePainter aPntr)
Overridden to skip painting stroke on top.
|
void |
pathChanged()
Called by the tool when the path has been changed.
|
void |
positionChildren()
PositionChildren
|
void |
setAnimChild(RMShape aChild)
Sets the shape which will be positioned along the path
|
void |
setChildOrigin(int aValue)
Sets child origin.
|
void |
setDistance(float aValue)
Sets distance along path to position children.
|
void |
setHeight(double aValue)
Overridden to mark the path dirty.
|
void |
setPath(RMPath aPath)
Overridden to mark the path dirty
|
void |
setPreservesOrientation(boolean aValue)
Sets whether the children's rotation should get adjusted as they move along the path.
|
void |
setWidth(double aValue)
Overridden to mark the path dirty.
|
getPath, getPathTransform, resetPath, superSelectable
addChild, addChild, addChild, bringShapesToFront, cloneDeep, divideShapeFromTop, fromXML, getBoundsOfChildren, getChild, getChildArray, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getLayout, getNeedsLayout, getSourceURL, indexOfChild, isSourceURLSet, layout, relayout, removeChild, removeChild, removeChildren, rpgAll, sendShapesToBack, setLayout, setNeedsLayout, setSourceURL, toXML
acceptsChildren, acceptsMouse, addBinding, addBinding, addDeepChangeListener, addMouseListener, animUpdate, bounds, childrenSuperSelectImmediately, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, deepChange, divideShapeFromEdge, get, get, getAlignment, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestHeight, getBestWidth, getBestWidth, getBinding, getBinding, getBindingCount, getBounds, getBoundsInside, getChildAnimator, getChildAnimator, getClipShape, getColor, getDatasetEntity, getDatasetKey, getDocument, getEffect, getEventAdapter, getFill, getFont, getFormat, getFrame, getFrameHeight, getFrameMaxX, getFrameMaxY, getFrameWidth, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getLayoutInfo, getMaskPath, getMaxX, getMaxY, getMinHeight, getMinHeight, getMinWidth, getMinWidth, getName, getOpacity, getOpacityDeep, getOutline, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParent, getPathInBounds, getPrefHeight, getPrefHeight, getPrefWidth, getPrefWidth, getPropertyNameMapped, getPropertyNames, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeOnTop, getStrokeWidth, getTextColor, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getURL, getWidth, getX, getXY, getXYP, getY, height, indexOf, intersects, isAncestor, isAnimProperty, isDescendant, isEditing, isEnabled, isFontSet, isHittable, isLocked, isMinHeightSet, isMinWidthSet, isPrefHeightSet, isPrefWidthSet, isRoot, isRSS, isUnderlined, isViewing, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, offsetXY, page, pageMax, paint, paintShapeAll, paintShapeChildren, propertyChange, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, rpgBindings, setAlignment, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setEffect, setEnabled, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHover, setLayoutInfo, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setOpacity, setOutline, setParent, setPrefHeight, setPrefWidth, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeWidth, setTextColor, setTime, setUnderlined, setURL, setVisible, setX, setXY, setXY, setXYP, setY, toString, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, y
public RMAnimPathShape()
public RMAnimPathShape(RMShape aShape)
public RMShape getAnimChild()
public void setAnimChild(RMShape aChild)
public void addChild(RMShape aChild, int anIndex)
addChild
in class RMParentShape
public RMRect getBoundsMarked()
getBoundsMarked
in class RMShape
public RMRect getBoundsMarkedDeep()
getBoundsMarkedDeep
in class RMShape
public boolean contains(RMPoint aPoint)
public RMAnimPathShape clone()
clone
in class RMPolygonShape
public void paintShape(RMShapePainter aPntr)
paintShape
in class RMPolygonShape
public void paintShapeOver(RMShapePainter aPntr)
paintShapeOver
in class RMShape
public float getDistance()
setDistance(float)
public void setDistance(float aValue)
public float getTotalLength()
public boolean getPreservesOrientation()
setPreservesOrientation(boolean)
public void setPreservesOrientation(boolean aValue)
public int getChildOrigin()
public void setChildOrigin(int aValue)
public void pathChanged()
public void setWidth(double aValue)
setWidth
in class RMParentShape
public void setHeight(double aValue)
setHeight
in class RMParentShape
public void setPath(RMPath aPath)
setPath
in class RMPolygonShape
public RMLine[] getSegments()
public void positionChildren()