Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Rect structure

Contains a set of four floating-point numbers that represent the location and size of a rectangle.

Syntax


typedef struct Rect {
  float X;
  float Y;
  float Width;
  float Height;
} Rect;

Members

X

Type: float

The x-coordinate of the upper-left corner of the rectangle.

Y

Type: float

The y-coordinate of the upper-left corner of the rectangle.

Width

Type: float

The width of the rectangle.

Height

Type: float

The height of the rectangle.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.h

IDL

Windows.Foundation.idl

See also

IPropertyValue::GetRect
IPropertyValue::GetRectArray
CreateRect
CreateRectArray

 

 

Community Additions

Show:
© 2015 Microsoft