Skip to content

Add a Color class #326

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add a Color class #326

wants to merge 1 commit into from

Conversation

lukelbd
Copy link
Collaborator

@lukelbd lukelbd commented Jan 23, 2022

This will implement a Color class with methods that replace the confusingly names, loose methods currently defined under utils.py like set_luminance and set_alpha. The old methods will redirect to new ones after emitting warnings. The class will be simply an instance of collections.MutableSequence with restricted contents and fixed length 3 or 4.

@lukelbd lukelbd force-pushed the color-class branch 3 times, most recently from 8413df8 to 19eb089 Compare January 25, 2022 18:50
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant