点击或拖拽改变大小

Rect 构造函数 (Single, Single, Single, Single)

Constructor which sets the initial values to the values of the parameters. Width and Height must be non-negative

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

参数

x
类型:SystemSingle

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

y
类型:SystemSingle

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

width
类型:SystemSingle

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

height
类型:SystemSingle

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

参见