MCPcopy Create free account
hub / github.com/microsoft/SandDance / constructor

Method constructor

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

Source from the content-addressed store, hash-verified

140257const epsilon = 1e-6;
140258class Path {
140259 constructor(){
140260 this._x0 = this._y0 = this._x1 = this._y1 = null; // end of current subpath
140261 this._ = "";
140262 }
140263 moveTo(x, y) {
140264 this._ += `M${this._x0 = this._x1 = +x},${this._y0 = this._y1 = +y}`;
140265 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected