Package com.reportmill.shape
Class RMShapeUtils
- java.lang.Object
-
- com.reportmill.shape.RMShapeUtils
-
public class RMShapeUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RMShapeUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setNeedsRepaintDeep
public static void setNeedsRepaintDeep(RMShape aShape)
Convenience to mark an entire tree of shapes for repaint.
-
setNeedsRepaint
public static void setNeedsRepaint(java.util.List shapes)
Convenience to mark a whole list of shapes for repaint.
-
addChildToShape
public static void addChildToShape(RMShape aChild, RMShape aParent, RMUndoer anUndoer)
Adds given child to given parent shape for given undoer.
-
removeChildrenFromShape
public static void removeChildrenFromShape(java.util.List children, RMShape aParent, RMUndoer anUndoer)
-
addPathsFromShapes
public static RMPath addPathsFromShapes(java.util.List shapes)
Returns the combined path from given shapes.
-
subtractPathsFromShapes
public static RMPath subtractPathsFromShapes(java.util.List shapes, int inset)
Returns the combined path from given shapes.
-
-