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 Color#toString, expose Color publicly, document it #5866

Merged
merged 2 commits into from
Dec 14, 2017

Conversation

davidtheclark
Copy link
Contributor

@jfirebaugh We chatted earlier today about converting Color instances to rgba strings.

  • Adds Color#toString.
  • Exposes the Color class publicly.
  • Documents the Color class.

Here are screenshots of the documentation:

screen shot 2017-12-14 at 1 39 20 pm

screen shot 2017-12-14 at 1 39 25 pm

Launch Checklist

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • document any changes to public APIs

Copy link
Contributor

@jfirebaugh jfirebaugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This uncovered some premultiplication-related bugs in the implementation of the rgba and to-rgba expression operators.

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.

2 participants