[]
        
(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)
Public Function Inflate(width As Integer, height As Integer) As Thickness
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)
Public Function Inflate(size As Integer) As Thickness
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)
Public Function Inflate(r As Rectangle) As Rectangle
Parameters
Type Name Description
Rectangle r

A Rectangle to deflate.

Returns
Type Description
Rectangle

The inflated Rectangle.