Replies: 3 comments
-
I guess that the only way is to place a rect behind the stave. I am not aware of any function doing that in VexFlow. |
Beta Was this translation helpful? Give feedback.
-
In OSMD we just use |
Beta Was this translation helpful? Give feedback.
-
I realized after typing this that it doesn't help you since you are using canvas. It looks like you want to set the stave and clef to different colors. In canvas it might be possible to create a clef using In SVG it is possible with css. You can set and ID for the whole measure group, and find the vf-clef inside it:
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm following up on my previous question re coloring notes (posted here: #1535)
Just wondering if it's possible to fill the Treble and/or Bass Clef symbols themselves with different colors?
If so how?
And what about the canvas element upon which the Stave is drawn?
I tried doing the following but it didn't work:
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions