Skia - Linear Gradient with multiple colors/positions


I’m sort of missing being able to specifiy more colors and their positions on a Linear Gradient shader (Rainbows!). Even though it’s supported by Skia it was decided to hide it in the VL library, I guess for ease of use.

Could you add maybe an Advanced category LinearGradient node that would behave similar to the RadialGradient?

In the meantime I’ll edit my local VL.Skia library like this but I think it’s definitely useful in general.

Thank you.

I second this.

Hi @domj,

thank you for pinging about it. Arriving soon to gamma.


@robotanton Awesome, thanks!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.