RectInt32 結構

定義

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

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public struct RectInt32
繼承
RectInt32
屬性

Windows 需求

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

欄位

Height

矩形的高度。

Width

矩形的寬度。

X

矩形左上角的 X 座標。

Y

矩形左上角的 Y 座標。

適用於

產品 版本
WinRT Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100