public Rect(
int X,
int Y,
int Width,
int Height
)
[缺少 "M:DeploySharp.Data.Rect.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="X"/> 文档]
[缺少 "M:DeploySharp.Data.Rect.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="Y"/> 文档]
[缺少 "M:DeploySharp.Data.Rect.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="Width"/> 文档]
[缺少 "M:DeploySharp.Data.Rect.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="Height"/> 文档]
Provides functionality for geometric operations including intersection, union, containment checks, and coordinate transformations.
提供几何运算功能,包括交集、并集、包含检查和坐标转换。
var rect = new Rect(10, 20, 100, 50);
var point = new Point(15, 25);
bool contains = rect.Contains(point);