max method

Box max(
  1. Box maxBox
)

Implementation

Box max(Box maxBox)
{
  top = Math.max(top, maxBox.top);
  right = Math.max(right, maxBox.right);
  bottom = Math.max(bottom, maxBox.bottom);
  left = Math.max(left, maxBox.left);
  return this;
}