init
TypeScriptstatic initControlPointsCreationDate(controlPoints: Array<PKStrokePoint>, creationDate: globalThis.Date): PKStrokePathReferenceSwift declarationinit(controlPoints: [PKStrokePoint], creationDate: Date)class · iOS 14.0+ · SDK 27.1
class PKStrokePathReferencestatic initControlPointsCreationDate(controlPoints: Array<PKStrokePoint>, creationDate: globalThis.Date): PKStrokePathReferenceSwift declarationinit(controlPoints: [PKStrokePoint], creationDate: Date)static initControlPointsCreationDateStrokePathID(controlPoints: Array<PKStrokePoint>, creationDate: globalThis.Date, strokePathID: string): PKStrokePathReferenceSwift declarationconvenience init(controlPoints: [PKStrokePoint], creationDate: Date, strokePathID: UUID)interpolatedLocation(parametricValue: number): { x: number; y: number }Swift declarationfunc interpolatedLocation(at parametricValue: CGFloat) -> CGPointinterpolatedPoint(parametricValue: number): PKStrokePointSwift declarationfunc interpolatedPoint(at parametricValue: CGFloat) -> PKStrokePointsubscript(i: number): PKStrokePointSwift declarationsubscript(i: Int) -> PKStrokePoint { get }parametricValueOffsetByDistance(parametricValue: number, distanceStep: number): numberSwift declarationfunc parametricValue(_ parametricValue: CGFloat, offsetByDistance distanceStep: CGFloat) -> CGFloatparametricValueOffsetByTime(parametricValue: number, timeStep: number): numberSwift declarationfunc parametricValue(_ parametricValue: CGFloat, offsetByTime timeStep: TimeInterval) -> CGFloatpoint(i: number): PKStrokePointSwift declarationfunc point(at i: Int) -> PKStrokePointsubpath(range: SDKHandle): PKStrokePathSwift declarationfunc subpath(with range: __PKFloatRange) -> PKStrokePathget bezierRepresentation(): _CoreGraphics_CGPathSwift declarationvar bezierRepresentation: CGPath { get }get count(): numberSwift declarationvar count: Int { get }get creationDate(): globalThis.DateSwift declarationvar creationDate: Date { get }get strokePathID(): stringSwift declarationvar strokePathID: UUID { get }5 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
PKStrokePathReference.init(bezierPath:creationDate:pointProvider:)
callback cannot propagate synchronous failure
PKStrokePathReference.enumerateInterpolatedPoints(in:strideByDistance:using:)
synchronous callback requires a nonescaping JS-thread call
PKStrokePathReference.enumerateInterpolatedPoints(in:strideByTime:using:)
synchronous callback requires a nonescaping JS-thread call
PKStrokePathReference.enumerateInterpolatedPoints(in:strideByParametricStep:using:)
synchronous callback requires a nonescaping JS-thread call
PKStrokePathReference.init()
inherited init: cannot prove legal (class declares 3 custom initializers)