interpolatePathDataNodes

open fun interpolatePathDataNodes(target: @NonNull Array<PathParser.PathDataNode>, fraction: Float, from: @NonNull Array<PathParser.PathDataNode>, to: @NonNull Array<PathParser.PathDataNode>)(source)

Interpolate between two arrays of PathDataNodes with the given fraction, and store the results in the first parameter.

Parameters

target

The resulting array of PathDataNode for the interpolation

fraction

A float fraction value in the range of 0 to 1

from

The array of PathDataNode when fraction is 0

to

The array of PathDataNode when the fraction is 1

See also

Throws

When the arrays of nodes are incompatible for interpolation.


Deprecated

Use interpolatePathDataNodes instead.

Interpolate between two arrays of PathDataNodes with the given fraction, and store the results in the first parameter.

Parameters

target

The resulting array of PathDataNode for the interpolation

from

The array of PathDataNode when fraction is 0

to

The array of PathDataNode when the fraction is 1

fraction

A float fraction value in the range of 0 to 1

See also

Throws

When the arrays of nodes are incompatible for interpolation.