Contents

init(controlPoints:creationDate:)

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

Declaration

init(controlPoints: [PKStrokePoint], creationDate: Date)

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.