Documentation of 'org.jgraph.util.RectUtils' Java class
RectUtils
org.jgraph.util

Class RectUtils



  • public class RectUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      RectUtils() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.awt.geom.Rectangle2D union(java.awt.geom.Rectangle2D src1, java.awt.geom.Rectangle2D src2)
      Unions the pair of source Rectangle2D objects and puts the result into the returned Rectangle2D object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RectUtils

        public RectUtils()
    • Method Detail

      • union

        public static java.awt.geom.Rectangle2D union(java.awt.geom.Rectangle2D src1,
                                                      java.awt.geom.Rectangle2D src2)
        Unions the pair of source Rectangle2D objects and puts the result into the returned Rectangle2D object. This method extends the Rectangle2D version by checking for null parameters, the returned value will also be null if the two input rectangles are null
        Parameters:
        src1 - the first of a pair of Rectangle2D objects to be combined with each other
        src2 - the second of a pair of Rectangle2D objects to be combined with each other

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.