Contents

subpath(with:)

Returns a copy of the path containing the control points in the specified parametric range.

Declaration

func subpath(with range: __PKFloatRange) -> PKStrokePath

Parameters

  • range:

    The parametric range to copy. Values must be within [0, count-1].

Return Value

A new stroke path containing the portion within the specified parametric range.