Class PKStrokePath

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class PKStrokePath
extends NSObject
Since:
Available in iOS 14.0 and later.
  • Constructor Details

  • Method Details

    • getCount

      public long getCount()
    • getCreationDate

      public NSDate getCreationDate()
    • init

      protected long init​(NSArray<PKStrokePoint> controlPoints, NSDate creationDate)
    • pointAtIndex

      public PKStrokePoint pointAtIndex​(long i)
    • objectAtIndexedSubscript

      public PKStrokePoint objectAtIndexedSubscript​(long i)
    • interpolatedLocationAt

      public CGPoint interpolatedLocationAt​(double parametricValue)
    • interpolatedPointAt

      public PKStrokePoint interpolatedPointAt​(double parametricValue)
    • enumerateInterpolatedPointsStrideByDistance

      public void enumerateInterpolatedPointsStrideByDistance​(PKFloatRange range, double distanceStep, VoidBlock2<PKStrokePoint,​BooleanPtr> block)
    • enumerateInterpolatedPointsStrideByTime

      public void enumerateInterpolatedPointsStrideByTime​(PKFloatRange range, double timeStep, VoidBlock2<PKStrokePoint,​BooleanPtr> block)
    • enumerateInterpolatedPointsStrideByParametricStep

      public void enumerateInterpolatedPointsStrideByParametricStep​(PKFloatRange range, double parametricStep, VoidBlock2<PKStrokePoint,​BooleanPtr> block)
    • getParametricValueOffsetByDistance

      public double getParametricValueOffsetByDistance​(double parametricValue, double distanceStep)
    • getParametricValueOffsetByTime

      public double getParametricValueOffsetByTime​(double parametricValue, double timeStep)