Table of Contents

Method CreateInterpolation

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

CreateInterpolation(SKPath, SKPath, float)

Creates a new SKPath that is an interpolation between two paths at the given position.

public static SKPath CreateInterpolation(SKPath from, SKPath to, float t)

Parameters

from SKPath

The starting path.

to SKPath

The ending path.

t float

The interpolation position, where 0 returns from and 1 returns to.

Returns

SKPath

An interpolated SKPath.

Exceptions

ArgumentNullException

from or to is null.