Platforms to show: All Mac Windows Linux Cross-Platform

Back to MKMapRectMBS class.

MKMapRectMBS.Constructor(origin as MKMapPointMBS, size as MKMapSizeMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The constructor.

Copies values from point and size to build new rectangle.

See also:

MKMapRectMBS.Constructor(other as MKMapRectMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The copy constructor.

See also:

MKMapRectMBS.Contains(other as MKMapPointMBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns true if point is included in rectangle area.

See also:

MKMapRectMBS.Contains(other as MKMapRectMBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns true if given rectangle is included in rectangle area.

See also:

MKMapRectMBS.Divide(byref slice as MKMapRectMBS, byref remainder as MKMapRectMBS, amount as double, edge as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Divides rectangle in slice and remainder.

MKMapRectMBS.Equal(other as MKMapRectMBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Compares two rectangle objects.

Returns true if both are equal.

MKMapRectMBS.Inset(dx as Double, dy as Double) as MKMapRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Insets rectangle by given delta and returns new rectangle.

MKMapRectMBS.Intersection(other as MKMapRectMBS) as MKMapRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns intersection of two map rectangles.

MKMapRectMBS.Intersects(other as MKMapRectMBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Checks whether the given rectangle intersects with the current one.

MKMapRectMBS.Offset(dx as Double, dy as Double) as MKMapRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Offsets map rectangle by given offset.

MKMapRectMBS.Region as MKCoordinateRegionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Creation region covering the map rectangle.

MKMapRectMBS.Remainder as MKMapRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
For map rects that span the 180th meridian, this returns the portion of the rect that lies outside of the world rect wrapped around to the other side of the world.

The portion of the rect that lies inside the world rect can be determined with rect.Intersection(MKMapRectMBS.World).

MKMapRectMBS.Union(other as MKMapRectMBS) as MKMapRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns union of both rectangles.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...