[]
        
(Showing Draft Content)

C1.WPF.Extensions.Inflate

Inflate Method

Inflate(ref Rect, double, double)

Enlarges a Rect structure by the specified amount.

Declaration
public static void Inflate(ref Rect r, double dx, double dy)
Parameters
Type Name Description
Rect r

Rect structure.

double dx

The amount to inflate this Rect horizontally.

double dy

The amount to inflate this Rect vertically.

Inflate(ref Rect, double, double, double, double)

Enlarges a Rect structure by the specified amount.

Declaration
public static void Inflate(ref Rect r, double left, double top, double right, double bottom)
Parameters
Type Name Description
Rect r

Rect structure.

double left

The amount to inflate this Rect from left.

double top

The amount to inflate this Rect from top.

double right

The amount to inflate this Rect from right.

double bottom

The amount to inflate this Rect from bottom.