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

vpype_viewer - how to change default pen width and opacity? #243

Closed
vmario89 opened this issue Apr 1, 2021 · 2 comments
Closed

vpype_viewer - how to change default pen width and opacity? #243

vmario89 opened this issue Apr 1, 2021 · 2 comments

Comments

@vmario89
Copy link

vmario89 commented Apr 1, 2021

Hi,
reading the docs i did not find a proper way to predefine the values of opacity and pen width in matplotwindow. the defaults are width=0.3 an opacity 80%. how to change? there is a class called Engine but how to add this to the viewer?

@abey79
Copy link
Owner

abey79 commented Apr 2, 2021

Is your question about the show command ( vpype read input.svg [...] show) or the vpype_viewer.show() API?

Either way I think this is not yet possible. Additional params should be added to vpype_viewer.show() and QtViewer.__init__() (PR welcome if you feel like it).

@vmario89
Copy link
Author

vmario89 commented Apr 4, 2021

made a pr at #248

@abey79 abey79 closed this as completed Apr 12, 2022
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