Table of Contents

Class SKPathInterpolation

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

Interpolates between two SKPath objects by converting them to normalized point arrays and morphing between them.

public class SKPathInterpolation
Inheritance
SKPathInterpolation
Inherited Members

Constructors

SKPathInterpolation(SKPath, SKPath, float)

Initializes a new instance of SKPathInterpolation with the specified source and target paths.

Properties

From

Gets the starting path.

MaxSegmentLength

Gets the maximum segment length used when normalizing curves.

To

Gets the ending path.

Methods

Interpolate(float)

Returns an interpolated path at the specified position between the source and target paths. Calls Prepare() automatically if it has not been called.

Prepare()

Preprocesses the source and target paths by normalizing them into point arrays with matching point counts. This is called automatically by Interpolate(float) if not called explicitly.