Rect structure (windows.foundation.h)
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Header | windows.foundation.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for