Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing canvas styles #10

Open
samaxes opened this issue Nov 9, 2015 · 1 comment
Open

Changing canvas styles #10

samaxes opened this issue Nov 9, 2015 · 1 comment

Comments

@samaxes
Copy link

samaxes commented Nov 9, 2015

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.

@ringw
Copy link
Owner

ringw commented Dec 23, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants