点击或拖拽改变大小

RectInflate 方法 (Rect, Single, Single)

Inflate - return the result of inflating rect by the size provided, in all directions If this is Empty, this method is illegal.

命名空间:  CPF.Drawing
程序集:  CPF (在 CPF.dll 中) 版本:0.8.8.5
语法
C#
public static Rect Inflate(
	Rect rect,
	float width,
	float height
)

参数

rect
类型:CPF.DrawingRect

[缺少 "M:CPF.Drawing.Rect.Inflate(CPF.Drawing.Rect,System.Single,System.Single)" 的 <param name="rect"/> 文档]

width
类型:SystemSingle

[缺少 "M:CPF.Drawing.Rect.Inflate(CPF.Drawing.Rect,System.Single,System.Single)" 的 <param name="width"/> 文档]

height
类型:SystemSingle

[缺少 "M:CPF.Drawing.Rect.Inflate(CPF.Drawing.Rect,System.Single,System.Single)" 的 <param name="height"/> 文档]

返回值

类型:Rect

[缺少 "M:CPF.Drawing.Rect.Inflate(CPF.Drawing.Rect,System.Single,System.Single)" 的 <returns> 文档]

参见