paddedBy(p) {
        return new Rect(this.x - p, this.y - p, this.w + p * 2, this.h + p * 2);
    }
Returns the result of padding to each side of the rectangle by the given amount.

@param {!number} p The margin from the receiving rect's outside to the returned rect's inside.
@returns !Rect