Contents

length(_:ofSegment:ofPath:at:)

Provides the length of one segment of the entire path.

Declaration

func length(_ length: UnsafeMutablePointer<Double>!, ofSegment segmentIndex: Int, ofPath pathID: FxPathID!, at time: CMTime) throws

Parameters

  • length:

    Upon return, contains the length (in pixels) of the desired segment.

  • segmentIndex:

    Which segment of the path you wish to evaluate the length of.

  • pathID:

    The ID of the path whose segment you wish to evaluate.

  • time:

    The time at which to evaluate the length of a segment of a path.

See Also

Getting Path Information