Method Inflate
Inflate(double)
Returns a new rectangle expanded equally on all sides.
public Rectangle Inflate(double uniform)
Parameters
uniformdoubleThe amount to add to each side (left, top, right, bottom).
Returns
Inflate(double, double)
Returns a new rectangle expanded by the specified amounts on each axis.
public Rectangle Inflate(double dx, double dy)
Parameters
dxdoubleThe horizontal amount to add on each side (left and right).
dydoubleThe vertical amount to add on each side (top and bottom).