* Copy the value of this color to an array. * @param out - The color * @param outOffset - The start offset
(out: number[] | Float32Array | Float64Array, outOffset: number = 0)
| 292 | * @param outOffset - The start offset |
| 293 | */ |
| 294 | copyToArray(out: number[] | Float32Array | Float64Array, outOffset: number = 0): void { |
| 295 | out[outOffset] = this._r; |
| 296 | out[outOffset + 1] = this._g; |
| 297 | out[outOffset + 2] = this._b; |
| 298 | out[outOffset + 3] = this._a; |
| 299 | } |
| 300 | |
| 301 | /** |
| 302 | * Modify components (r, g, b) of this color from gamma space to linear space. |
no outgoing calls
no test coverage detected