vexflow icon indicating copy to clipboard operation
vexflow copied to clipboard

Changing canvas styles

Open samaxes opened this issue 10 years ago • 1 comments

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.

samaxes avatar Nov 09 '15 15:11 samaxes

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.

ringw avatar Dec 23 '15 23:12 ringw