Edit

Share via


MKPolygon.Intersects(MKMapRect) Method

Definition

Calculates if the specified rect intersects this polygon.

[Foundation.Export("intersectsMapRect:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual bool Intersects (MapKit.MKMapRect rect);
abstract member Intersects : MapKit.MKMapRect -> bool
override this.Intersects : MapKit.MKMapRect -> bool

Parameters

rect
MKMapRect

The MKMapRect being queried for intersection.

Returns

Returns true if the specified rect intersects the MKPolygon's BoundingMapRect'.

Attributes

Remarks

Application developers must override this method if they require a more accurate, geometry-based calculation.

This can be used from a background thread.

Applies to