Modifica

Condividi tramite


MKOverlay.Intersects(MKMapRect) Method

Definition

Calculates whether the rect intersects this MKOverlay.

[Foundation.Export("intersectsMapRect:")]
public virtual bool Intersects (MapKit.MKMapRect rect);
abstract member Intersects : MapKit.MKMapRect -> bool
override this.Intersects : MapKit.MKMapRect -> bool

Parameters

rect
MKMapRect

The area being checked for intersection with this MKOverlay.

Returns

true if the rectangle overlaps the overlay.

Attributes

Remarks

The default implementation uses the BoundingMapRect to calculate intersection. Application developers who need more precision should override this method.

Applies to