countourAtIndexPath(_:)
Retrieves the contour object at the specified index, irrespective of hierarchy.
Declaration
func countourAtIndexPath(_ indexPath: IndexPath) -> ContoursObservation.Contour?Parameters
- indexPath:
The index of the contour to retrieve. Valid values are in the range of
0tocontourCount - 1.
Return Value
The contour object at the specified index path, or `nil` if the index path is invalid.