[]
        
(Showing Draft Content)

C1.Framework.Thickness.Inflate

Inflate Method

Inflate(int, int)

Inflates the current Thickness by the specified values.

Declaration
public Thickness Inflate(int width, int height)
Parameters
Type Name Description
int width

The inflate size for vertical edges.

int height

The inflate size for horizontal edges.

Returns
Type Description
Thickness

The new Thickness.

Inflate(int)

Inflates the current Thickness by the specified size.

Declaration
public Thickness Inflate(int size)
Parameters
Type Name Description
int size

The size.

Returns
Type Description
Thickness

The new Thickness.

Inflate(Rectangle)

Inflates the specified Rectangle by the current Thickness.

Declaration
public Rectangle Inflate(Rectangle r)
Parameters
Type Name Description
Rectangle r

A Rectangle to deflate.

Returns
Type Description
Rectangle

The inflated Rectangle.