path
The path representing the overlay’s shape.
Declaration
var path: CGPath! { get set }Discussion
Getting the value of this property causes the method to create the path (using the createPath() method) if it doesn’t already exist. You can assign a path object to this property explicitly. When assigning a new path object to this property, the overlay renderer stores a strong reference to the path you provide.