MCPcopy Create free account
hub / github.com/alignoth/alignoth / rect

Method rect

resources/vega.min.js:7643–7646  ·  view source on GitHub ↗
(t, e, n, r)

Source from the content-addressed store, hash-verified

7641 ._append`A${n},${n},0,${+(f >= Sl)},${c},${(this._x1 = t + n * Math.cos(i))},${(this._y1 = e + n * Math.sin(i))}`));
7642 }
7643 rect(t, e, n, r) {
7644 this
7645 ._append`M${(this._x0 = this._x1 = +t)},${(this._y0 = this._y1 = +e)}h${(n = +n)}v${+r}h${-n}Z`;
7646 }
7647 toString() {
7648 return this._;
7649 }

Callers 5

vega.min.jsFile · 0.45
lFunction · 0.45
tyFunction · 0.45
_renderMethod · 0.45
renderBoundsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected