MCPcopy Create free account
hub / github.com/breck7/scroll / closePath

Method closePath

external/.d3.js:6074–6079  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6072 this._append`M${this._x0 = this._x1 = +x},${this._y0 = this._y1 = +y}`;
6073 }
6074 closePath() {
6075 if (this._x1 !== null) {
6076 this._x1 = this._x0, this._y1 = this._y0;
6077 this._append`Z`;
6078 }
6079 }
6080 lineTo(x, y) {
6081 this._append`L${this._x1 = +x},${this._y1 = +y}`;
6082 }

Callers 10

.leaflet.jsFile · 0.45
ribbonFunction · 0.45
renderCellMethod · 0.45
renderHullMethod · 0.45
renderTriangleMethod · 0.45
.d3.jsFile · 0.45
arcFunction · 0.45
lineEndMethod · 0.45
drawFunction · 0.45
drawFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected