(color)
| 472 | } |
| 473 | |
| 474 | _setFillColor(color) { |
| 475 | const newStyle = 'rgb(' + color[0] + ',' + color[1] + ',' + color[2] + ')'; |
| 476 | if (newStyle !== this._prevDrawStyle) { |
| 477 | this._drawCtx.fillStyle = newStyle; |
| 478 | this._prevDrawStyle = newStyle; |
| 479 | } |
| 480 | } |
| 481 | |
| 482 | _renderQPush(action) { |
| 483 | this._renderQ.push(action); |