Class RMShapeUtils

java.lang.Object
com.reportmill.shape.RMShapeUtils

public class RMShapeUtils extends Object
  • Constructor Details

    • RMShapeUtils

      public RMShapeUtils()
  • Method Details

    • setNeedsRepaintDeep

      public static void setNeedsRepaintDeep(RMShape aShape)
      Convenience to mark an entire tree of shapes for repaint.
    • setNeedsRepaint

      public static void setNeedsRepaint(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(List children, RMShape aParent, RMUndoer anUndoer)
    • addPathsFromShapes

      public static RMPath addPathsFromShapes(List shapes)
      Returns the combined path from given shapes.
    • subtractPathsFromShapes

      public static RMPath subtractPathsFromShapes(List shapes, int inset)
      Returns the combined path from given shapes.