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

Method rect

external/.d3.js:6177–6179  ·  view source on GitHub ↗
(x, y, w, h)

Source from the content-addressed store, hash-verified

6175 }
6176 }
6177 rect(x, y, w, h) {
6178 this._append`M${this._x0 = this._x1 = +x},${this._y0 = this._y1 = +y}h${w = +w}v${+h}h${-w}Z`;
6179 }
6180 toString() {
6181 return this._;
6182 }

Callers 3

.leaflet.jsFile · 0.80
renderBoundsMethod · 0.80
drawFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected