MCPcopy
hub / github.com/microsoft/SandDance / closePath

Method closePath

docs/tests/v2/es6/js/sanddance.js:124184–124189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124182 }
124183
124184 closePath() {
124185 if (this._x1 !== null) {
124186 this._x1 = this._x0, this._y1 = this._y0;
124187 this._ += "Z";
124188 }
124189 }
124190
124191 lineTo(x, y) {
124192 this._ += `L${this._x1 = +x},${this._y1 = +y}`;

Callers 8

arcFunction · 0.45
sanddance.jsFile · 0.45
_defaultFunction · 0.45
rectangleFunction · 0.45
pointFunction · 0.45
renderCellMethod · 0.45
renderHullMethod · 0.45
renderTriangleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected