public class RMShapeUtils
extends java.lang.Object
Constructor and Description |
---|
RMShapeUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addChildToShape(RMShape aChild,
RMShape aParent,
RMUndoer anUndoer)
Adds given child to given parent shape for given undoer.
|
static RMPath |
addPathsFromShapes(java.util.List shapes)
Returns the combined path from given shapes.
|
static void |
removeChildrenFromShape(java.util.List children,
RMShape aParent,
RMUndoer anUndoer) |
static void |
setNeedsRepaint(java.util.List shapes)
Convenience to mark a whole list of shapes for repaint.
|
static void |
setNeedsRepaintDeep(RMShape aShape)
Convenience to mark an entire tree of shapes for repaint.
|
static RMPath |
subtractPathsFromShapes(java.util.List shapes,
int inset)
Returns the combined path from given shapes.
|
public static void setNeedsRepaintDeep(RMShape aShape)
public static void setNeedsRepaint(java.util.List shapes)
public static void addChildToShape(RMShape aChild, RMShape aParent, RMUndoer anUndoer)
public static void removeChildrenFromShape(java.util.List children, RMShape aParent, RMUndoer anUndoer)
public static RMPath addPathsFromShapes(java.util.List shapes)
public static RMPath subtractPathsFromShapes(java.util.List shapes, int inset)