<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.2.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKPolygonRenderer",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKPolygonRenderer"
  },
  "title" : "MKPolygonRenderer"
}
-->

# MKPolygonRenderer

The visual representation of a single polygon overlay.

```
class MKPolygonRenderer
```

## Overview

This renderer creates the polygon overlay by first filling the shape and then representing its outline with strokes. You can change the color and other drawing attributes of the polygon by modifying the properties inherited from the parent class.

## Topics

### Creating a polygon renderer

[`init(polygon:)`](/documentation/MapKit/MKPolygonRenderer/init(polygon:))

Creates a new renderer that handles drawing for the specified polygon overlay object.

### Accessing the polygon overlay object

[`polygon`](/documentation/MapKit/MKPolygonRenderer/polygon)

The polygon object that contains the information used to draw the overlay’s contents.

### Accessing the stroke

[`strokeStart`](/documentation/MapKit/MKPolygonRenderer/strokeStart)

The unit distance along the polygon where the stroke starts.

[`strokeEnd`](/documentation/MapKit/MKPolygonRenderer/strokeEnd)

The unit distance along the polygon where the stroke ends.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)