Upravit

Sdílet prostřednictvím


CGRect.Equality(CGRect, CGRect) Operator

Definition

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

The CGRect structure that is to the left of the equality operator.

right
CGRect

The CGRect structure that is to the right of the equality operator.

Returns

This operator returns true if the two CGRect structures have equal X, Y, Width, and Height properties.

Applies to