(closeMode = constants.OPEN)
| 1084 | Does nothing if shape is not a path or has multiple contours. Might discuss this. |
| 1085 | */ |
| 1086 | endShape(closeMode = constants.OPEN) { |
| 1087 | if (closeMode === constants.CLOSE) { |
| 1088 | // Close the first contour, the one implicitly used for shape data |
| 1089 | // added without an explicit contour |
| 1090 | this.endContour(closeMode, 0); |
| 1091 | } |
| 1092 | } |
| 1093 | |
| 1094 | accept(visitor) { |
| 1095 | for (const contour of this.contours) { |
no test coverage detected