Skip to content

Feature Request: Path-Aligned Gradient #1713

Description

@qianxiaoming

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions