 					var pathplen:int = plen / 2;
 					//line
 					if (isDrawline&&pathplen>=2){
-						nump += pathplen * 4;
 						if (isClosePath){
+							nump += pathplen * 8;
 							numi += pathplen * 6;
 						}else{
+							nump += (pathplen-1) * 8;
 							numi += (pathplen-1) * 6;
 						}
 					}

					if (hw<=0){
						hw = .5;
					}
					// todo : 添加stroke
					var lcolorv = gl.strokeStyle;
					for (i = 0; i < len; i++ ){
						var poly:MemArray = polys.array[i];

									index[ii++] = b;
									index[ii++] = d;
									index[ii++] = c;
									offset += 4;
								}
							}
							//offset += j * 8;
						}
					}
					
