Skip to content

Add extend modes to gradients #190

Description

@jcollie

Add pad/repeat/reflect (SVG spreadMethod, Cairo's extend modes) via Extend.apply, replacing the bare math.clamp(t, 0, 1) in the linear and radial solvers; map non-finite offsets to zero, so a collapsed gradient no longer falls out of the stop search with no color.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions