MKPolygonRenderer class provides the visual representation for an
MKPolygon overlay object. This renderer fills and strokes the polygon represented by first filling the shape and then stroking its outline. You can change the color and other drawing attributes of the polygon by modifying the properties inherited from the parent class. You typically use this class as is and do not subclass it.
Initializes and returns a new renderer that handles drawing for the specified polygon overlay object.
- (instancetype)initWithPolygon:(MKPolygon *)
The polygon overlay containing information about the area to be drawn. This object must have at least three points defining the polygon to draw. This parameter must not be
An initialized polygon renderer object.
Available in OS X v10.9 and later.