RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
Constructor and Description |
---|
RMPainterShape() |
Modifier and Type | Method and Description |
---|---|
void |
addOpsForPath(java.awt.geom.PathIterator aPathIterator)
Adds operations for path.
|
void |
addPainter(RMPaintbot aPainter)
Adds a given painter to painters list.
|
void |
addPainter(RMPaintbot aPainter,
int anIndex)
Adds a given painter to painter list at given index.
|
RMPainterShape |
clone()
Standard clone implementation.
|
double |
computePrefHeight(float aWidth)
Override to get preferred height from instructions.
|
double |
computePrefWidth(float aHeight)
Override to get preferred width from instructions.
|
void |
curveTo(float anX1,
float aY1,
float anX2,
float aY2,
float anX3,
float aY3)
Paint a bezier curve with the given control points and end point.
|
void |
forward(float aDistance)
Adds a forward instruction to painter.
|
RMPainterShape |
fromXML(XMLArchiver anArchiver,
XMLElement anElement)
XML Unarchival.
|
RMRect |
getBoundsMarked()
Returns the marked bounds.
|
RMRect |
getExecutionBounds()
Returns the total bounds from execution.
|
float |
getExecutionTime()
Returns the total execution time of all painter shape operations.
|
RMPaintbot |
getPainter()
Returns the first painter.
|
RMPaintbot |
getPainter(int anIndex)
Returns the specific painter at given index.
|
int |
getPainterCount()
Returns the number of painters.
|
RMShape |
getPaintShape()
Returns the paint shape.
|
float |
getTime()
Returns the time.
|
void |
lineTo(float anX,
float aY)
Paint a line to given coordinates.
|
void |
moveTo(float anX,
float aY)
Move to.
|
void |
paintShape(RMShapePainter aPntr)
Paint shape.
|
void |
quadTo(float anX1,
float aY1,
float anX2,
float aY2)
Paint a parabolic curve with the given control point and end point.
|
void |
setPaintColor(java.awt.Color aColor)
Sets the paint color for path operations.
|
void |
setPaintSpeed(float aSpeed)
Sets the paint speed for path operations.
|
void |
setPaintStrokeWidth(float aWidth)
Sets the paint stroke width for path operations.
|
void |
setParent(RMParentShape aShape)
Override to make sure there is a child animator.
|
void |
setTime(int aTime)
Override to trigger act.
|
XMLElement |
toXML(XMLArchiver anArchiver)
XML Archival.
|
void |
turn(float anAngle)
Adds a turn instruction to painter.
|
acceptsChildren, acceptsMouse, addBinding, addBinding, addDeepChangeListener, addMouseListener, animUpdate, bounds, childrenSuperSelectImmediately, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, deepChange, divideShapeFromEdge, divideShapeFromTop, get, get, getAlignment, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestHeight, getBestWidth, getBestWidth, getBinding, getBinding, getBindingCount, getBounds, getBoundsInside, getBoundsMarkedDeep, getChild, getChildAnimator, getChildAnimator, getChildCount, getChildren, 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, getPath, 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, paintShapeOver, propertyChange, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, rpgAll, rpgBindings, setAlignment, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setEffect, setEnabled, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setHover, setLayoutInfo, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setOpacity, setOutline, setPrefHeight, setPrefWidth, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeWidth, setTextColor, setUnderlined, setURL, setVisible, setWidth, setX, setXY, setXY, setXYP, setY, superSelectable, toString, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, y
public float getTime()
public RMShape getPaintShape()
public void setPaintColor(java.awt.Color aColor)
public void setPaintStrokeWidth(float aWidth)
public void setPaintSpeed(float aSpeed)
public void forward(float aDistance)
public void turn(float anAngle)
public void moveTo(float anX, float aY)
public void lineTo(float anX, float aY)
public void quadTo(float anX1, float aY1, float anX2, float aY2)
public void curveTo(float anX1, float aY1, float anX2, float aY2, float anX3, float aY3)
public void paintShape(RMShapePainter aPntr)
paintShape
in class RMShape
public RMPaintbot getPainter()
public int getPainterCount()
public RMPaintbot getPainter(int anIndex)
public void addPainter(RMPaintbot aPainter)
public void addPainter(RMPaintbot aPainter, int anIndex)
public void addOpsForPath(java.awt.geom.PathIterator aPathIterator)
public float getExecutionTime()
public RMRect getExecutionBounds()
public RMRect getBoundsMarked()
getBoundsMarked
in class RMShape
public double computePrefWidth(float aHeight)
public double computePrefHeight(float aWidth)
public void setParent(RMParentShape aShape)
public RMPainterShape clone()
public XMLElement toXML(XMLArchiver anArchiver)
public RMPainterShape fromXML(XMLArchiver anArchiver, XMLElement anElement)