search for: vecolor

Displaying 1 result from an estimated 1 matches for "vecolor".

Did you mean: ecolor
2009 Feb 02
0
Polyline toMicrosoft() change
...prototype.toMicrosoft = function() { var mpolyline; var mpoints = []; for (var i = 0, length = this.points.length ; i< length; i++){ mpoints.push(this.points[i].toMicrosoft()); } var color; var opacity = this.opacity ||1.0; if(this.color){ color = new VEColor(parseInt(this.color.substr(1,2),16),parseInt(this.color.substr(3,2),16),parseInt(this.color.substr(5,2),16), opacity); }else{ color = new VEColor(0,255,0, opacity); } mpolyline = new VEShape(VEShapeType.Polygon, mpoints); mpolyline.SetLineColor(color); mpolyline.SetLineW...