Skip to content

Add a Color class - #326

Open
lukelbd wants to merge 1 commit into
masterfrom
color-class
Open

Add a Color class#326
lukelbd wants to merge 1 commit into
masterfrom
color-class

Conversation

@lukelbd

Copy link
Copy Markdown
Collaborator

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
lukelbdforce-pushed the color-class branch 3 times, most recently from 8413df8 to 19eb089CompareJanuary 25, 2022 18:50
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@lukelbd