Merge pull request #7191 from dotCooCoo/feat/gradient-hue-blend

Gradients: Hue Clockwise and Hue Counterclockwise mix stops around the hue wheel
This commit is contained in:
BFlat
2026-11-14 01:53:39 +07:00
committed by GitHub
60 changed files with 987 additions and 87 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ pub fn gradient_params(g: &GradientPaint) -> Value {
v["dither"] = json!(true);
}
if !g.gradient.method.is_classic() {
v["method"] = json!(g.gradient.method.label().to_lowercase());
v["method"] = json!(g.gradient.method.id());
}
// A freeform gradient has no ends to spread past (`paint.setFill` refuses a spread for one).
if g.gradient.is_spread() {