MCPcopy Create free account
hub / github.com/apache/cloudstack / _setFillColor

Method _setFillColor

systemvm/agent/noVNC/core/display.js:474–480  ·  view source on GitHub ↗
(color)

Source from the content-addressed store, hash-verified

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);

Callers 1

fillRectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected