textmode.synth.js / SynthSource / shift
Method: shift()
ts
shift(
r?,
g?,
b?,
a?): this;Shift color channels by adding offset values.
Parameters
| Parameter | Type | Description |
|---|---|---|
r? | SynthParameterValue | Red channel shift (default: 0.5) |
g? | SynthParameterValue | Green channel shift (default: 0.0) |
b? | SynthParameterValue | Blue channel shift (default: 0.0) |
a? | SynthParameterValue | Alpha channel shift (default: 0.0) |
Returns
this