matchLinearity
Matches the linearity of the current ColorRGBa
instance with another ColorRGBa
instance. If the linearity of other
matches that of the current instance, the current instance is returned. Otherwise, it converts the current instance to match the linearity of other
.
Return
A ColorRGBa
instance with the same linearity as the other
color.
Parameters
other
The ColorRGBa
instance whose linearity is to be matched.