MCPcopy Create free account
hub / github.com/microsoft/SandDance / Lab

Function Lab

docs/app/js/sanddance-app.js:128061–128066  ·  view source on GitHub ↗
(l, a, b, opacity)

Source from the content-addressed store, hash-verified

128059}
128060exports.default = lab;
128061function Lab(l, a, b, opacity) {
128062 this.l = +l;
128063 this.a = +a;
128064 this.b = +b;
128065 this.opacity = +opacity;
128066}
128067(0, _defineJsDefault.default)(Lab, lab, (0, _defineJs.extend)((0, _colorJs.Color), {
128068 brighter: function(k) {
128069 return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected