Method Inflate
Inflate(double)
Returns a new rectangle expanded equally on all sides.
public Rectangle Inflate(double uniform)
Parameters
uniform
doubleThe 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
dx
doubleThe horizontal amount to add on each side (left and right).
dy
doubleThe vertical amount to add on each side (top and bottom).