Method Inflated
Inflated(Rect, Size)
Inflates given rectangle by the specified size.
public static Rect Inflated(this Rect rectangle, Size size)
Parameters
Returns
- Rect
Rect object with new size.
Inflated(Rect, double)
Inflates given rectangle by the specified amount.
public static Rect Inflated(this Rect rectangle, double amount)
Parameters
rectangle
RectGiven rectangle.
amount
doubleThe amount to inflate this rectangle in vertical and horizontal direction.
Returns
- Rect
Rect object with new size.