Constructor SKPathInterpolation
SKPathInterpolation(SKPath, SKPath, float)
Initializes a new instance of SKPathInterpolation with the specified source and target paths.
public SKPathInterpolation(SKPath from, SKPath to, float maxSegmentLength = 5)
Parameters
fromSKPathThe starting path.
toSKPathThe ending path.
maxSegmentLengthfloatThe maximum length of a path segment used when normalizing curves. Smaller values produce smoother interpolation.
Exceptions
- ArgumentNullException
fromortoisnull.