Lines Matching refs:vertices

1912         if (this.vertices.length === 0) { return; }
1917 if (this.vertices[0].length === 2) { // drawing 2D vertices
1918 for (i = 0; i < this.vertices.length; i++) {
1919 p.vertex(this.vertices[i][0], this.vertices[i][1]);
1922 for (i = 0; i < this.vertices.length; i++) {
1923 p.vertex(this.vertices[i][0], this.vertices[i][1], this.vertices[i][2]);
1929 if (this.vertices[0].length === 2) { // drawing a 2D path
1933 p.vertex(this.vertices[index][0], this.vertices[index][1]);
1934 if ( this.vertices[index]["moveTo"] === true) {
1936 } else if ( this.vertices[index]["moveTo"] === false) {
1943 p.bezierVertex(this.vertices[index+0][0], this.vertices[index+0][1],
1944 this.vertices[index+1][0], this.vertices[index+1][1],
1945 this.vertices[index+2][0], this.vertices[index+2][1]);
1949 p.curveVertex(this.vertices[index][0], this.vertices[index][1]);
1961 … p.vertex(this.vertices[index][0], this.vertices[index][1], this.vertices[index][2]);
1962 if (this.vertices[index]["moveTo"] === true) {
1964 } else if (this.vertices[index]["moveTo"] === false) {
1970 … p.bezierVertex(this.vertices[index+0][0], this.vertices[index+0][1], this.vertices[index+0][2],
1971 … this.vertices[index+1][0], this.vertices[index+1][1], this.vertices[index+1][2],
1972 … this.vertices[index+2][0], this.vertices[index+2][1], this.vertices[index+2][2]);
1976 … p.curveVertex(this.vertices[index][0], this.vertices[index][1], this.vertices[index][2]);
1992 for (i = 0; i < this.vertices.length; i++) {
1993 p.vertex(this.vertices[i]);
1996 for (i = 0; i < this.vertices.length; i++) {
1997 var vert = this.vertices[i];
2244 this.vertices = [];
2274 this.vertices = [];
2298 this.vertices = arguments[0].vertices.slice();
2679 ppx = this.vertices[ this.vertices.length-2 ][0];
2680 ppy = this.vertices[ this.vertices.length-2 ][1];
2681 px = this.vertices[ this.vertices.length-1 ][0];
2682 py = this.vertices[ this.vertices.length-1 ][1];
2687 ctrlX1 = this.vertices[this.vertices.length-1][0];
2688 ctrlY1 = this.vertices[this.vertices.length-1][1];
2705 ppx = this.vertices[this.vertices.length-2][0];
2706 ppy = this.vertices[this.vertices.length-2][1];
2707 px = this.vertices[this.vertices.length-1][0];
2708 py = this.vertices[this.vertices.length-1][1];
2713 ctrlX1 = this.vertices[this.vertices.length-1][0];
2714 ctrlY1 = this.vertices[this.vertices.length-1][1];
2759 ppx = this.vertices[this.vertices.length-2][0];
2760 ppy = this.vertices[this.vertices.length-2][1];
2761 px = this.vertices[this.vertices.length-1][0];
2762 py = this.vertices[this.vertices.length-1][1];
2784 ppx = this.vertices[this.vertices.length-2][0];
2785 ppy = this.vertices[this.vertices.length-2][1];
2786 px = this.vertices[this.vertices.length-1][0];
2787 py = this.vertices[this.vertices.length-1][1];
2815 if (this.vertices.length > 0) {
2826 if (this.vertices.length > 0) {
2836 if (this.vertices.length > 0) {
2840 this.vertices[this.vertices.length-1]["moveTo"] = false;
2846 if (this.vertices.length > 0) {
2852 this.vertices[this.vertices.length-1]["moveTo"] = true;
2858 this.vertices.push(verts);
2875 this.vertices.push(verts);