Platforms to show: All Mac Windows Linux Cross-Platform
MKPolygonMBS class
Super class: MKMultiPointMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MapKit | MBS MacFrameworks Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The points are connected end-to-end in the order they are provided. The first and last points are connected to each other to create the closed shape.
When creating a polygon, you can mask out portions of the polygon by specifying one or more interior polygons. For the polygons you specify, this class uses the even-odd fill rule to determine the final occupied area. When applied to overlapping polygons, this rule can cause specific regions to be masked out (and thereby removed) from the total occupied area. For more information about how fill rules are applied to paths, see "Paths" in Quartz 2D Programming Guide.
Subclass of the MKMultiPointMBS class.
- 11 methods
- method boundingMapRect as MKMapRectMBS
- method canReplaceMapContent as Boolean
- method Constructor Private
- method Constructor(coords() as CLLocationCoordinate2DMBS)
- method Constructor(coords() as CLLocationCoordinate2DMBS, InteriorPolygons() as MKPolygonMBS)
- method Constructor(Handle as Integer)
- method Constructor(points() as MKMapPointMBS)
- method Constructor(points() as MKMapPointMBS, InteriorPolygons() as MKPolygonMBS)
- method coordinate as CLLocationCoordinate2DMBS
- method interiorPolygons as MKPolygonMBS()
- method intersectsMapRect(mapRect as MKMapRectMBS) as Boolean
- 4 shared methods
- shared method polygonWithCoordinates(coords() as CLLocationCoordinate2DMBS) as MKPolygonMBS
- shared method polygonWithCoordinates(coords() as CLLocationCoordinate2DMBS, InteriorPolygons() as MKPolygonMBS) as MKPolygonMBS
- shared method polygonWithPoints(points() as MKMapPointMBS) as MKPolygonMBS
- shared method polygonWithPoints(points() as MKMapPointMBS, InteriorPolygons() as MKPolygonMBS) as MKPolygonMBS
Super class MKMultiPointMBS
- property pointCount as Integer
- 4 methods
- method Constructor Private
- method Constructor(Handle as Integer)
- method Coordinates as MKMapPointMBS()
- method points as MKMapPointMBS()
Super class MKShapeMBS
- 3 properties
- 6 methods
- method Constructor Private
- method Constructor(Handle as Integer)
- method Coordinate as CLLocationCoordinate2DMBS
- method SetCoordinate(newCoordinate as CLLocationCoordinate2DMBS)
- method SubTitle as String
- method Title as String
This class has no sub classes.
Interfaces:
1 interfaces.
Some methods using this class:
- MKMultiPolygonMBS.Constructor(polygons() as MKPolygonMBS)
- MKMultiPolygonMBS.multiPolygon(polygons() as MKPolygonMBS) as MKMultiPolygonMBS
- MKMultiPolygonMBS.polygons as MKPolygonMBS()
- MKPolygonRendererMBS.Constructor(polygon as MKPolygonMBS)
Some properties using for this class:
- MKPolygonRendererMBS.polygon as MKPolygonMBS
Some examples using this class:
Blog Entries
Xojo Developer Magazine
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
MKPointAnnotationMBS - MKPolygonRendererMBS