Commit c7aedd10 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete _colors_alternate

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51867 954022d7-b5bf-4e40-9824-e11837661b57
parent c5208081
......@@ -50,7 +50,6 @@ OfficeExcel.OtherProps = function()
this._colors = ['rgb(0,0,255)', '#0f0', '#00f', '#ff0', '#0ff', '#0f0'];
this._colors_sequential = false;
this._colors_alternate = null;
this._radius = null;
......
......@@ -1465,24 +1465,6 @@
penUp = false;
}
}
/**
* If two colors are specified instead of one, go over the up bits
*/
if (this._otherProps._colors_alternate && typeof(color) == 'object' && color[0] && color[1]) {
for (var i = 1; i < len; ++i) {
var prevX = coords[i - 1][0];
var prevY = coords[i - 1][1];
this.context.beginPath();
this.context.strokeStyle = color[coords[i][1] < prevY ? 0 : 1];
this.context.lineWidth = this._otherProps._linewidth;
this.context.moveTo(prevX, prevY);
this.context.lineTo(coords[i][0], coords[i][1]);
this.context.stroke();
}
}
}
// Returns the linewidth
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment