CGRect.Equality(CGRect, CGRect) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tests whether two CGRect structures have equal location and size.
public static bool operator ==(CoreGraphics.CGRect left, CoreGraphics.CGRect right);
static member ( = ) : CoreGraphics.CGRect * CoreGraphics.CGRect -> bool
Parameters
- left
- CGRect
<attribution license="cc4" from="Microsoft" modified="false"></attribution>The CGRect structure that is to the left of the equality operator.
- right
- CGRect
<attribution license="cc4" from="Microsoft" modified="false"></attribution>The CGRect structure that is to the right of the equality operator.
Returns
<attribution license="cc4" from="Microsoft" modified="false"></attribution>
This operator returns true if the two CGRect structures have equal X, Y, Width, and Height properties.