Home
last modified time | relevance | path

Searched refs:clamp01 (Results 1 – 2 of 2) sorted by relevance

/plugin/diagramsnet/lib/js/diagramly/vsdx/
H A Dimporter.js5577 /*private*/ HSLColor.prototype.clamp01 = function (val) { method in HSLColor
5582 this.lum = this.clamp01(this.lum);
5587 this.lum = this.clamp01(this.lum);
5592 this.sat = this.clamp01(this.sat);
5597 this.lum = this.clamp01(this.lum);
5645 /*private*/ HSVColor.prototype.clamp01 = function (val) { method in HSVColor
5650 this.v = this.clamp01(this.v);
5655 this.v = this.clamp01(this.v);
5660 this.s = this.clamp01(this.s);
5665 this.v = this.clamp01(this.v);
[all …]
/plugin/diagramsnet/lib/js/
H A Dextensions.min.js1295 …)};b.prototype.clamp01=function(a){return Math.min(1,Math.max(0,a))};b.prototype.tint=function(a){… method in b
1296clamp01(this.lum);return this};b.prototype.satMod=function(a){this.sat*=a/100;this.sat=this.clamp0…
1297 …this.v,this.v,d,a,a][g]|0,255*[a,a,b,this.v,this.v,d][g]|0)};b.prototype.clamp01=function(a){retur… method in b
1298clamp01(this.v);return this};b.prototype.shade=function(a){this.v*=a/100;this.v=this.clamp01(this.…