(source, settings)
| 48 | } |
| 49 | |
| 50 | constructor(source, settings) { |
| 51 | super(source, settings); |
| 52 | this.mergeSettings(source.settings || settings); |
| 53 | |
| 54 | this._imageData = null; |
| 55 | this._colorData = null; |
| 56 | this._kernelString = null; |
| 57 | this._prependedString = []; |
| 58 | this.thread = { |
| 59 | x: 0, |
| 60 | y: 0, |
| 61 | z: 0 |
| 62 | }; |
| 63 | this.translatedSources = null; |
| 64 | } |
| 65 | |
| 66 | initCanvas() { |
| 67 | if (typeof document !== 'undefined') { |
nothing calls this directly
no test coverage detected