You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think "Limited" sounds like there will be "limited" and "unlimited" color spaces, but the reality is not as clear cut. It's more that most of them have a typical range. I think it's better to rebrand the trait to an "action" trait, by naming it with a verb, and letting the details be implementation specific. So it will still make sense to have a clamp method even if a color space is only limited by convention, but still could have a theoretically infinite range.
What to do:
Rename the trait
Rename is_valid to is_within_bounds or something more appropriate
Update documentation and examples
The text was updated successfully, but these errors were encountered:
I think "Limited" sounds like there will be "limited" and "unlimited" color spaces, but the reality is not as clear cut. It's more that most of them have a typical range. I think it's better to rebrand the trait to an "action" trait, by naming it with a verb, and letting the details be implementation specific. So it will still make sense to have a clamp method even if a color space is only limited by convention, but still could have a theoretically infinite range.
What to do:
is_valid
tois_within_bounds
or something more appropriateThe text was updated successfully, but these errors were encountered: