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

set_background_color() function not working #3

Open
abhayk001 opened this issue Apr 5, 2021 · 4 comments
Open

set_background_color() function not working #3

abhayk001 opened this issue Apr 5, 2021 · 4 comments

Comments

@abhayk001
Copy link

No description provided.

@royqh1979
Copy link
Owner

royqh1979 commented Apr 8, 2021 via email

@royqh1979
Copy link
Owner

you should use clear() or clear_device() to redraw the image after set_background_color()

@abhayk001
Copy link
Author

abhayk001 commented Apr 15, 2021

you should use clear() or clear_device() to redraw the image after set_background_color()

Oh thank you!! So sorry for replying late. But why is this an issue? Like, why can't set_background_color() directly work?

@abhayk001
Copy link
Author

https://pyeasygraphics.readthedocs.io/en/latest/tutorials/011_image.html#image-transparency-and-composition-mode
I executed this exact code from the docs, with the draw_bus() function inside the same python file, but I got the same output but with white background

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