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 shorthand method for creating a Color from RGB components #73

Merged
merged 2 commits into from Sep 12, 2022

Conversation

tpoliaw
Copy link
Contributor

@tpoliaw tpoliaw commented Aug 21, 2022

Add the static method decided on in #41.

tpoliaw and others added 2 commits August 21, 2022 11:12
Allows an Rgb Color variant to be created as if it was a tuple variant
while maintaining the named fields of the struct type.

Fixes mikaelmello#41
@mikaelmello mikaelmello merged commit 4a136e9 into mikaelmello:main Sep 12, 2022
@mikaelmello
Copy link
Owner

Thanks!

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

2 participants