You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Interpolates the geometry, appearance, and transform between multiple vector layers, producing a single morphed vector shape.
1942
1942
///
1943
-
/// Progression [0, 1) morphs through all objects at uniform speed. A path may be provided to control the trajectory between key objects. The **Origins to Polyline** node may be used to create a path with anchor points corresponding to each object. Other nodes can modify its path segments.
1943
+
/// *Progression* morphs through all objects. Interpolation is linear unless *Path* geometry is provided to control the trajectory between key objects. The **Origins to Polyline** node may be used to create a path with anchor points corresponding to each object. Other nodes can modify its path segments.
asyncfnmorph<I:IntoGraphicTable + 'n + Send + Clone>(
1946
1946
_:implCtx,
1947
1947
/// The vector objects to interpolate between. Mixed graphic content is deeply flattened to keep only vector elements.
1948
1948
#[implementations(Table<Graphic>,Table<Vector>)]
1949
1949
content:I,
1950
-
/// The fractional part [0, 1) traverses the morph uniformly along the path. If the control path has multiple subpaths, each added integer selects the next subpath.
1950
+
/// The fractional part `[0, 1)` traverses the morph uniformly along the path. If the control path has multiple subpaths, each added integer selects the next subpath.
1951
1951
progression:Progression,
1952
1952
/// Swap the direction of the progression between objects or along the control path.
1953
1953
reverse:bool,
1954
1954
/// The parameter of change that influences the interpolation speed between each object. Equal slices in this parameter correspond to the rate of progression through the morph. This must be set to a parameter that changes.
1955
1955
///
1956
1956
/// "Objects" morphs through each group element at an equal rate. "Distances" keeps constant speed with time between objects proportional to their distances. "Angles" keeps constant rotational speed. "Sizes" keeps constant shrink/growth speed. "Slants" keeps constant shearing angle speed.
1957
1957
distribution:InterpolationDistribution,
1958
-
/// An optional control path whose anchor points correspond to each object. Curved segments between points will shape the morph trajectory instead of traveling straight. If there is a break between path segments, the separate subpaths are selected by index from the integer part of the progression value. For example, [1, 2) morphs along the segments of the second subpath, and so on.
1958
+
/// An optional control path whose anchor points correspond to each object. Curved segments between points will shape the morph trajectory instead of traveling straight. If there is a break between path segments, the separate subpaths are selected by index from the integer part of the progression value. For example, `[1, 2)` morphs along the segments of the second subpath, and so on.
1959
1959
path:Table<Vector>,
1960
1960
) -> Table<Vector>{
1961
1961
/// Promotes a segment's handle pair to cubic-equivalent Bézier control points.
0 commit comments