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