vexflow
vexflow copied to clipboard
Changing canvas styles
Hi @ringw, using your API, is there any way to change the canvas' styles before rendering the document? I'm interested in changing the default colors and sizes.
Hi, I don't think there is currently a way to change the canvas color and size because the canvas creation and drawing is wrapped up inside DocumentFormatter. It would be possible to add some custom hooks to change some properties, but I would rather do an overhaul of DocumentFormatter first and hopefully make it more flexible from the ground up.