Replies: 3 comments 4 replies
-
You can pass anything that a Canvas fillStyle accepts, including rgba and hsl colors. |
Beta Was this translation helpful? Give feedback.
-
Strange - when I issue |
Beta Was this translation helpful? Give feedback.
-
btw if you were implementing something similar, would you recommend that I include |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm wondering if it would be possible to implement something like
rgba(100,100,100,0.)
orhsla(0,100,50,0.)
for thewaveColor
property of the creation method. My reason is that I'd like to have multiple instances of the same ws on different virtual tracks, some transparent and some not. I can fake this by setting the waveform color to the same color as the background, but it's not exactly what I'm looking for. I realize my case is exotic– I'm building a system that has annotations (regions) and running out of space in the single "lane" that WS offers.Thanks for any thoughts!
I'm sure there may be something obvious that I'm missing so feel free to recommend an alternative approach. :)
Beta Was this translation helpful? Give feedback.
All reactions