Share via


RectInt32 Struct

Definition

Defines the size and location of a rectangular surface.

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
Inheritance
RectInt32
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Height

The height of a rectangle.

Width

The width of a rectangle.

X

The X coordinate of the top-left corner of the rectangle.

Y

The Y coordinate of the top-left corner of the rectangle.

Applies to