---
title: "init(points:count:interiorPolygons:)"
framework: mapkit
role: symbol
role_heading: Initializer
path: "mapkit/mkpolygon/init(points:count:interiorpolygons:)"
---

# init(points:count:interiorPolygons:)

Creates and returns a polygon object from the specified set of map points and interior polygons.

## Declaration

```swift
convenience init(points: UnsafePointer<MKMapPoint>, count: Int, interiorPolygons: [MKPolygon]?)
```

## Parameters

- `points`: The array of map points defining the shape. The new object copy the data in this array.
- `count`: The number of items in the points array.
- `interiorPolygons`: An array of MKPolygon objects that define one or more cutout regions for the receiver’s polygon.

## Return Value

Return Value A new polygon object.

## See Also

### Creating a polygon overlay

- [init(points:count:)](mapkit/mkpolygon/init(points:count:).md)
- [init(coordinates:count:)](mapkit/mkpolygon/init(coordinates:count:).md)
- [init(coordinates:count:interiorPolygons:)](mapkit/mkpolygon/init(coordinates:count:interiorpolygons:).md)
