MCPcopy Index your code
hub / github.com/microsoft/SandDance / closePath

Method closePath

docs/app/js/sanddance-app.js:140266–140271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140264 this._ += `M${this._x0 = this._x1 = +x},${this._y0 = this._y1 = +y}`;
140265 }
140266 closePath() {
140267 if (this._x1 !== null) {
140268 this._x1 = this._x0, this._y1 = this._y0;
140269 this._ += "Z";
140270 }
140271 }
140272 lineTo(x, y) {
140273 this._ += `L${this._x1 = +x},${this._y1 = +y}`;
140274 }

Callers 8

pathRenderFunction · 0.45
sanddance-app.jsFile · 0.45
rectangle1Function · 0.45
point1Function · 0.45
arcFunction · 0.45
renderHullMethod · 0.45
renderTriangleMethod · 0.45
renderCellMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected