Capítulo 271 de 411

Chapter 271: MotionPathPlugin.pointsToSegment()

Core Idea

Plots a curved cubic-bezier path through a flat list of x/y points, returning a segment array typically inserted into a RawPath.

Reference Tables

ParameterTypeDescription
pointsArrayflat [x, y, x, y, ...] coordinates
curvinessNumber (optional)0 = straight/hard corners, 1 (default) = smooth curve, higher = curvier

Returns: cubic bezier data (anchor, 2 control points, anchor, ...).

Connects To

  • MotionPathPlugin.arrayToRawPath(): the higher-level equivalent that returns a full RawPath.