Skip to content

Add Gradient support #502

Description

@Kyle-Ye

Summary

Add gradient values and gradient shape styles.

Scope

  • Add Gradient, Gradient.Stop, and AnyGradient.
  • Add the LinearGradient, RadialGradient, AngularGradient, and EllipticalGradient shape styles.
  • Add Gradient.ColorSpace interpolation.
  • Add gradient shading to GraphicsContext.

Acceptance criteria

  • Each gradient style renders with the correct stops and color space interpolation on iOS and macOS.

API reference

Activity

  1. added
    area: graphics
    contrib: help wanted
    priority: p1
    type: feature
    and removed on May 20, 2026
  2. linked a pull request that will close this issueAdd LinearGradient #850on Aug 9, 2026
  3. self-assigned this
    on Aug 9, 2026
  4. added this to the 0.25.0 milestone on Oct 16, 2026
  5. changed the title [-]Implement LinearGradient[/-] [+]Add Gradient support[/+] on Oct 16, 2026
  6. linked a pull request that will close this issuefeat: add gradient APIs and paint support #1226on Oct 25, 2026
  7. linked a pull request that will close this issuefeat: add gradient layer rendering #1229on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: graphicscontrib: help wantedpriority: p1type: feature

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions