Click or drag to resize

Rect Operators

The Rect type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition(Rect, Point)
Shifts rectangle by a certain offset
Public operatorStatic memberAddition(Rect, Size)
Expands or shrinks rectangle by a certain amount
Public operatorStatic memberBitwiseAnd
Determines the Rect structure that represents the intersection of two rectangles.
Public operatorStatic memberBitwiseOr
Gets a Rect structure that contains the union of two Rect structures.
Public operatorStatic memberEquality
Compares two Rect objects. The result specifies whether the members of each object are equal.
Public operatorStatic memberInequality
Compares two Rect objects. The result specifies whether the members of each object are unequal.
Public operatorStatic memberSubtraction(Rect, Point)
Shifts rectangle by a certain offset
Public operatorStatic memberSubtraction(Rect, Size)
Expands or shrinks rectangle by a certain amount
Top
See Also