Instance Property


The path representing the overlay’s shape.


var path: CGPath! { get set }


Getting the value of this property causes the path to be created (using the createPath() method) if it does not 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.

See Also

Creating and Managing the Path

func createPath()

Creates the path for the overlay.

func invalidatePath()

Updates the path associated with the overlay renderer.