Share via


RectInt32 結構

定義

定義矩形表面的大小和位置。

public value class RectInt32
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
struct RectInt32
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public struct RectInt32
var rectInt32 = {
x : /* Your value */,
y : /* Your value */,
width : /* Your value */,
height : /* Your value */
}
Public Structure RectInt32
繼承
RectInt32
屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

欄位

Height

矩形的高度。

Width

矩形的寬度。

X

矩形左上角的 X 座標。

Y

矩形左上角的 Y 座標。

適用於