Please use. NET 5,. NET 6, NET 7,. NET 8, NET Framework 4.6, NET Framework 4.61, NET Framework 4.7, NET Framework 4.72, NET Framework 4.8, NET Framework 4.81, and. NET Core 3.1 versions

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

Represents a rectangle structure with single-precision floating-point coordinates and dimensions 表示具有单精度浮点坐标和尺寸的矩形结构

Definition

命名空间: DeploySharp.Data
程序集: DeploySharp (在 DeploySharp.dll 中) 版本:0.0.4+6e8a2e904469617cd59619d666c0e272985c0e33
C#
public RectF(
	float X,
	float Y,
	float Width,
	float Height
)

参数

X  Single

[缺少 "M:DeploySharp.Data.RectF.#ctor(System.Single,System.Single,System.Single,System.Single)" 的 <param name="X"/> 文档]

Y  Single

[缺少 "M:DeploySharp.Data.RectF.#ctor(System.Single,System.Single,System.Single,System.Single)" 的 <param name="Y"/> 文档]

Width  Single

[缺少 "M:DeploySharp.Data.RectF.#ctor(System.Single,System.Single,System.Single,System.Single)" 的 <param name="Width"/> 文档]

Height  Single

[缺少 "M:DeploySharp.Data.RectF.#ctor(System.Single,System.Single,System.Single,System.Single)" 的 <param name="Height"/> 文档]

备注

This structure is immutable and provides various operations for rectangle manipulation. 该结构是不可变的,并提供各种矩形操作功能。

The coordinate system assumes Y increases downward and X increases rightward. 坐标系假定Y向下增加,X向右增加。

参见