MCPcopy Create free account
hub / github.com/idank/explainshell / d3_Rgb

Function d3_Rgb

explainshell/web/static/js/d3.v3.js:1374–1378  ·  view source on GitHub ↗
(r, g, b)

Source from the content-addressed store, hash-verified

1372 return new d3_Rgb(r, g, b);
1373 }
1374 function d3_Rgb(r, g, b) {
1375 this.r = r;
1376 this.g = g;
1377 this.b = b;
1378 }
1379 var d3_rgbPrototype = d3_Rgb.prototype = new d3_Color();
1380 d3_rgbPrototype.brighter = function(k) {
1381 k = Math.pow(.7, arguments.length ? k : 1);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected