public Rectangle2D Inflate(double width, double height) { if (width < -this.Width * 0.5) { return Rectangle2D.Empty; } if (height < -this.Height * 0.5) { return Rectangle2D.Empty; } Rectangle2D clone = this.Clone(); clone._x -= width; clone._y -= height; clone._width += width * 2; clone._height += height * 2; return clone; }