Problem
Current gradient rendering is defined in screen/user space and is not aware of path geometry. As a result, it cannot produce a continuous color transition that follows a polyline or curved path.
Desired Behavior
We want to support gradients that are bound to the path itself, such that:
- Color transitions follow the direction and length of a stroke or path
- The gradient is continuous across multi-segment polylines and curves
- No visible discontinuities appear at segment joins or sharp turns
- The gradient remains consistent under transforms (scale, rotate, etc.)
Goal
Enable a single gradient definition to smoothly map along the entire path as if the color is driven by the path’s intrinsic parameterization (e.g. arc-length), rather than by screen-space coordinates.
Problem
Current gradient rendering is defined in screen/user space and is not aware of path geometry. As a result, it cannot produce a continuous color transition that follows a polyline or curved path.
Desired Behavior
We want to support gradients that are bound to the path itself, such that:
Goal
Enable a single gradient definition to smoothly map along the entire path as if the color is driven by the path’s intrinsic parameterization (e.g. arc-length), rather than by screen-space coordinates.