Platforms to show: All Mac Windows Linux Cross-Platform

MKPolygonMBS class

Super class: MKMultiPointMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class MapKit MBS MacFrameworks Plugin 14.1 Yes No No Yes, macOS only No
Function: The MKPolygon class represents a shape consisting of one or more points that define a closed polygon.
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.

Feedback, Comments & Corrections

Super class MKMultiPointMBS

Super class MKShapeMBS

This class has no sub classes.


Some methods using this class:

Some properties using for this class:

Some examples which use this class:

Blog Entries

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

MKPointAnnotationMBS   -   MKPolygonRendererMBS

The biggest plugin in space...

MBS Xojo Plugins