The visual representation for a path-based overlay.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.2+
Use this renderer when your overlay's shape is defined by a CGPath object. By default, this renderer fills and strokes the path using its current attributes.
You can use this class as-is or subclass to define additional drawing behaviors. If you subclass, you should override the
create method and use that method to build the appropriate path object. To change the path, invalidate it and recreate the path using whatever new data your subclass has obtained.