Contents

init(controlPoints:creationDate:)

Creates a stroke path with the cubic B-spline control points and a date that you specify.

Declaration

init<T>(controlPoints: T, creationDate: Date) where T : Sequence, T.Element == PKStrokePoint

Parameters

  • controlPoints:

    An array of control points for a cubic B-spline.

  • creationDate:

    The creation time of this path. The timeOffset of points in this stroke path is relative to this date.

See Also

Creating a new stroke path