guy 8 years ago
parent
commit
7e2140f8d2
  1. 12
      bi/core.js
  2. 12
      docs/core.js
  3. 12
      src/core/func/function.js

12
bi/core.js

@ -17238,9 +17238,9 @@ $(function () {
return tempValue;
},
rgba2rgb: function (rgbColour, BGcolur) {
if (BI.isNull(BGcolur)) {
BGcolur = 1;
rgba2rgb: function (rgbColour, BGcolor) {
if (BI.isNull(BGcolor)) {
BGcolor = 1;
}
if (rgbColour.substr(0, 4) != "rgba") {
return "";
@ -17254,9 +17254,9 @@ $(function () {
var B = BI.parseFloat(rgbValues[2]);
var A = BI.parseFloat(rgbValues[3]);
return "rgb(" + Math.floor(255 * (BGcolur * (1 - A )) + R * A) + "," +
Math.floor(255 * (BGcolur * (1 - A )) + G * A) + "," +
Math.floor(255 * (BGcolur * (1 - A )) + B * A) + ")";
return "rgb(" + Math.floor(255 * (BGcolor * (1 - A )) + R * A) + "," +
Math.floor(255 * (BGcolor * (1 - A )) + G * A) + "," +
Math.floor(255 * (BGcolor * (1 - A )) + B * A) + ")";
},
getTextSizeWidth: function (text, fontSize) {

12
docs/core.js

@ -22764,9 +22764,9 @@ $(function () {
return tempValue;
},
rgba2rgb: function (rgbColour, BGcolur) {
if (BI.isNull(BGcolur)) {
BGcolur = 1;
rgba2rgb: function (rgbColour, BGcolor) {
if (BI.isNull(BGcolor)) {
BGcolor = 1;
}
if (rgbColour.substr(0, 4) != "rgba") {
return "";
@ -22780,9 +22780,9 @@ $(function () {
var B = BI.parseFloat(rgbValues[2]);
var A = BI.parseFloat(rgbValues[3]);
return "rgb(" + Math.floor(255 * (BGcolur * (1 - A )) + R * A) + "," +
Math.floor(255 * (BGcolur * (1 - A )) + G * A) + "," +
Math.floor(255 * (BGcolur * (1 - A )) + B * A) + ")";
return "rgb(" + Math.floor(255 * (BGcolor * (1 - A )) + R * A) + "," +
Math.floor(255 * (BGcolor * (1 - A )) + G * A) + "," +
Math.floor(255 * (BGcolor * (1 - A )) + B * A) + ")";
},
getTextSizeWidth: function (text, fontSize) {

12
src/core/func/function.js

@ -225,9 +225,9 @@ $(function () {
return tempValue;
},
rgba2rgb: function (rgbColour, BGcolur) {
if (BI.isNull(BGcolur)) {
BGcolur = 1;
rgba2rgb: function (rgbColour, BGcolor) {
if (BI.isNull(BGcolor)) {
BGcolor = 1;
}
if (rgbColour.substr(0, 4) != "rgba") {
return "";
@ -241,9 +241,9 @@ $(function () {
var B = BI.parseFloat(rgbValues[2]);
var A = BI.parseFloat(rgbValues[3]);
return "rgb(" + Math.floor(255 * (BGcolur * (1 - A )) + R * A) + "," +
Math.floor(255 * (BGcolur * (1 - A )) + G * A) + "," +
Math.floor(255 * (BGcolur * (1 - A )) + B * A) + ")";
return "rgb(" + Math.floor(255 * (BGcolor * (1 - A )) + R * A) + "," +
Math.floor(255 * (BGcolor * (1 - A )) + G * A) + "," +
Math.floor(255 * (BGcolor * (1 - A )) + B * A) + ")";
},
getTextSizeWidth: function (text, fontSize) {

Loading…
Cancel
Save