Contents

init(polygon:)

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

Declaration

init(polygon: MKPolygon)

Parameters

  • polygon:

    The polygon overlay containing information about the area the polygon renderer draws. This object requires at least three points defining the polygon to draw. This parameter can’t be nil.

Return Value

An initialized polygon renderer object.