Package com.reportmill.shape
Class RMShapeUtils
- java.lang.Object
- 
- com.reportmill.shape.RMShapeUtils
 
- 
 public class RMShapeUtils extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description RMShapeUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddChildToShape(RMShape aChild, RMShape aParent, RMUndoer anUndoer)Adds given child to given parent shape for given undoer.static RMPathaddPathsFromShapes(java.util.List shapes)Returns the combined path from given shapes.static voidremoveChildrenFromShape(java.util.List children, RMShape aParent, RMUndoer anUndoer)static voidsetNeedsRepaint(java.util.List shapes)Convenience to mark a whole list of shapes for repaint.static voidsetNeedsRepaintDeep(RMShape aShape)Convenience to mark an entire tree of shapes for repaint.static RMPathsubtractPathsFromShapes(java.util.List shapes, int inset)Returns the combined path from given shapes.
 
- 
- 
- 
Method Detail- 
setNeedsRepaintDeeppublic static void setNeedsRepaintDeep(RMShape aShape) Convenience to mark an entire tree of shapes for repaint.
 - 
setNeedsRepaintpublic static void setNeedsRepaint(java.util.List shapes) Convenience to mark a whole list of shapes for repaint.
 - 
addChildToShapepublic static void addChildToShape(RMShape aChild, RMShape aParent, RMUndoer anUndoer) Adds given child to given parent shape for given undoer.
 - 
removeChildrenFromShapepublic static void removeChildrenFromShape(java.util.List children, RMShape aParent, RMUndoer anUndoer)
 - 
addPathsFromShapespublic static RMPath addPathsFromShapes(java.util.List shapes) Returns the combined path from given shapes.
 - 
subtractPathsFromShapespublic static RMPath subtractPathsFromShapes(java.util.List shapes, int inset) Returns the combined path from given shapes.
 
- 
 
-