expansion method

Rectangle<double> expansion(
  1. Point<double> value
)

Implementation

math.Rectangle<double> expansion(math.Point<double> value) {
  return fromCenter(
      center, math.Point<double>(width + value.x, height + value.y));
}