Instance Method

createPath()

Creates the path for the overlay.

Declaration

func createPath()

Discussion

The default implementation of this method does nothing. Subclasses should override it and use it to create the CGPath data type to be used for drawing. After creating the path, your implementation should assign it to the path property.

See Also

Creating and Managing the Path

var path: CGPath!

The path representing the overlay’s shape.

func invalidatePath()

Updates the path associated with the overlay renderer.