nimiq / qr-creator

Lightweight library for stylish QR codes
https://nimiq.github.io/qr-creator/demo
MIT License
200 stars 24 forks source link

Anyone have an example for a linear gradient? #16

Closed treeder closed 2 months ago

treeder commented 2 months ago

Can't get it to work.

If I use the same values from this codepen, it still shows a solid color.

https://codepen.io/treeder/pen/zYQmwQx

treeder commented 2 months ago

Ahh, nevermind, I see the comment about it being multiplied by the size, had to use 1 instead of my actual size.