[]
        
(Showing Draft Content)

C1.Framework.Style.Inflate

Inflate Method

Inflate(Rectangle)

Inflates the specified Rectangle by the values of the current Style margins, padding and border.

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

A Rectangle to inflate.

Returns
Type Description
Rectangle

The resulting Rectangle.

Inflate(Size)

Inflates the specified Size by the values of the current Style margins, padding and border.

Declaration
public Size Inflate(Size size)
Parameters
Type Name Description
Size size

A Size to inflate.

Returns
Type Description
Size

The resulting Size.

Inflate(int, int)

Inflates the specified width and height by the values of the current Style margins, padding and border.

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

A width to inflate.

int height

A height to inflate.

Returns
Type Description
Size

The resulting Size.