public class RMPolygonShape extends RMParentShape
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
Modifier and Type | Field and Description |
---|---|
static int |
_selectedPointIndex |
Constructor and Description |
---|
RMPolygonShape()
Creates a new empty polygon shape.
|
RMPolygonShape(Shape aShape)
Creates a new polygon shape for the given path.
|
Modifier and Type | Method and Description |
---|---|
RMPolygonShape |
clone()
Standard clone implementation.
|
RMPath |
getPath()
Returns the path for this polygon shape.
|
void |
paintShape(Painter aPntr)
Handles painting a polygon shape.
|
void |
resetPath(RMPath newPath)
Replace the polygon's current path with a new path, adjusting the shape's bounds to match the new path.
|
void |
setPath(RMPath aPath)
Sets the path for this polygon shape.
|
boolean |
superSelectable()
Editor method - indicates that this shape can be super selected.
|
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, setHeight, setLayout, setNeedsLayout, setSourceURL, setWidth, toXML
acceptsChildren, acceptsMouse, addBinding, addBinding, addDeepChangeListener, animUpdate, bounds, childrenSuperSelectImmediately, contains, convertedPointFromShape, convertedPointToShape, convertFromShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, deepChange, divideShapeFromEdge, get, get, getAlignment, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestWidth, getBinding, getBinding, getBindingCount, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getBoundsStroked, getBoundsStrokedDeep, getChildAnimator, getChildAnimator, getClipShape, getColor, getConvertedFromShape, getConvertedRectFromShape, getConvertedRectToShape, getConvertedToShape, getDatasetEntity, getDatasetKey, getDocument, getEffect, getFill, getFont, getFormat, getFrame, getFrameHeight, getFrameMaxX, getFrameMaxY, getFrameWidth, getFrameX, getFrameXY, getFrameY, getHeight, getMaxX, getMaxY, getMinHeight, getMinWidth, getName, getOpacity, getOpacityDeep, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParent, getPrefHeight, getPrefWidth, getPropNames, 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, isFontSet, isHittable, isLocked, isMinHeightSet, isMinWidthSet, isPrefHeightSet, isPrefWidthSet, isRoot, isRSS, isUnderlined, isViewing, isVisible, offsetXY, page, pageMax, paint, paintShapeAll, paintShapeChildren, paintShapeOver, processEvent, propertyChange, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, repaint, rpgBindings, setAlignment, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setEffect, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setOpacity, 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 RMPolygonShape()
public RMPolygonShape(Shape aShape)
public RMPath getPath()
public void setPath(RMPath aPath)
public void resetPath(RMPath newPath)
public boolean superSelectable()
superSelectable
in class RMShape
public void paintShape(Painter aPntr)
paintShape
in class RMShape
public RMPolygonShape clone()
clone
in class RMParentShape