Contents

contourAtIndex(_:)

Retrieves the contour object at the specified index, irrespective of hierarchy.

Declaration

func contourAtIndex(_ index: Int) -> ContoursObservation.Contour?

Parameters

  • index:

    The index of the contour to retrieve. Valid values are in the range of 0 to contourCount - 1.

Return Value

The contour object at the specified index, or nil if the index is invalid.

See Also

Getting the contours