Closed LeaVerou closed 2 years ago
As discussed with @tabatkins, these are superfluous since Color#coords is mutable.
Color#coords
For the same color space, they can be directly replaced with reading/writing .coords.
.coords
For different color spaces, they are still easily achievable with .coords:
// Read: color.to(space).coords // Write color.coords = new Color(space, [...]).to(color.colorSpace).coords
As discussed with @tabatkins, these are superfluous since
Color#coords
is mutable.For the same color space, they can be directly replaced with reading/writing
.coords
.For different color spaces, they are still easily achievable with
.coords
: