Skip to content

RECT struct

Defined in

Namespace: CrissCross.WPF.UI.Interop.WinDef Assembly: CrissCross.WPF.UI.dll Full name: CrissCross.WPF.UI.Interop.WinDef.RECT Modifiers: public sealed

Summary

        The RECT structure defines a rectangle by the coordinates of its upper-left and lower-right corners.
        

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Properties

NameSummary
LeftSpecifies the x-coordinate of the upper-left corner of the rectangle.
RightSpecifies the x-coordinate of the lower-right corner of the rectangle.
TopSpecifies the y-coordinate of the upper-left corner of the rectangle.
BottomSpecifies the y-coordinate of the lower-right corner of the rectangle.
WidthSpecifies the width of the rectangle.
HeightSpecifies the height of the rectangle.
PositionSpecifies the position of the rectangle.
SizeSpecifies the size of the rectangle.

Methods

NameSummary
OffsetSets offset of the rectangle.
static UnionCombines two RECTs.
Equals
GetHashCode