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

Add kwargs to surface.get_at and surface.set_at #4151

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

henserobbie
Copy link
Contributor

@henserobbie henserobbie commented Feb 1, 2024

Hey, I added kwargs to the surface methods get_at and set_at (per #808 ). I also gave them some default values (which may not be very useful or intuitive, but I figured they should be there):

surface.get_at(pos=(0,0))
surface.set_at(pos=(0,0), color=(0,0,0,255))

I also added some unit tests. Let me know what you think!

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

Successfully merging this pull request may close these issues.

None yet

1 participant