PathInterpolated QML Type | Qt Quick | Qt 6.11.1
Description: Defines a path as an interpolated value between two of the paths in a list.

- Qt 6.11
- Qt Quick
- QML Types
- QtQuick.VectorImage.Helpers
- PathInterpolated
- Qt 6.11.1 Reference Documentation

# PathInterpolated QML Type

Defines a path as an interpolated value between two of the paths in a list. More...

Import Statement: | `import QtQuick.VectorImage.Helpers`
Since: | Qt 6.11

- List of all members, including inherited members

## Properties

- factor : real
- svgPaths : stringlist

## Detailed Description

This item provides a simple way to specify an interpolated path. This is useful for displaying animated paths, where one path is gradually morphed into the next.

The interpolation end points are specified in the svgPaths list property, using the same syntax as the PathSvg item. Based on the factor property, the resulting path will be an interpolation between path n and n+1 in the list, where n is the integer part of the factor. The fractional part determines the interpolation weight between the two.

See also Path and PathSvg.

## Property Documentation

### factor : real

This property holds the interpolation factor. The effective value is clamped to [0, svgPaths.size - 1].

### svgPaths : stringlist

This property holds a list of paths, specified as SVG text strings in the manner of PathSvg.

The generation of an interpolated value between two of the paths in the list depends on them having the same number and types of path elements. The resulting path has the same elements, with coordinates linearly interpolated between the two source paths.