shift method

Rectangle<double> shift(
  1. Point<double> shift
)

Implementation

math.Rectangle<double> shift(math.Point<double> shift) {
  return fromLTWH(math.Point<double>(left + shift.x, top + shift.y), size);
}