ComponentTransfer.linear
Description:
Creates a new component transfer that applies a linear transform.
The new value is computed as
C' = C * m + b
<figure> <picture> <source srcset="linear-dark.png" media="(prefers-color-scheme: dark)"> <img alt="Component transfer: linear" src="linear-light.png"> </picture> </figure>
Parameters:
| m |
Slope |
| b |
Offset |
Returns:
|
a new `GskComponentTransfer` |