point(_:atPercentageOfParameter:alongPath:at:)
Provides a 2D point that contains the location of the point on the path, at a distance along the path’s parametric distance equal to the percent value of percentParameter.
Declaration
func point(_ point: UnsafeMutablePointer<FxPoint2D>!, atPercentageOfParameter percentParameter: Double, alongPath pathID: FxPathID!, at time: CMTime) throwsParameters
- point:
Upon return, contains the point that is th desired percentage of the parameter value along the path.
- percentParameter:
The percentage of the parameter along the path where you wish to find a point.
- pathID:
The ID of the path you want to query.
- time:
The time at which you wish to query the path.
See Also
Getting Path Information
numberOfPaths(at:)pathID(_:for:)name(_:ofPath:)isPath(_:open:at:)isPath(_:inverted:at:)style(_:ofPath:)length(_:ofPath:at:)length(_:ofSegment:ofPath:at:)number(ofVertices:inPath:at:)vertex(_:at:ofPath:at:)point(_:atPercentageOfDistance:alongPath:at:)blendMode(_:ofPath:)pathGeometryInfo(_:forPath:at:)