Method InflatedWithPadding
InflatedWithPadding(Rectangle, Padding)
Inflates given rectangle by the specified padding.
public static Rectangle InflatedWithPadding(this Rectangle r, Padding p)
Parameters
r
RectangleGiven rectangle.
p
PaddingSystem.Windows.Forms.Padding specifying amount to increase this rectangle.
Returns
- Rectangle
Rectangle object with new size.