MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / begin

Method begin

modules/io/firmata/firmataclient.js:668–678  ·  view source on GitHub ↗
(x, y, width, height)

Source from the content-addressed store, hash-verified

666 }
667 }
668 begin(x, y, width, height) {
669 if (undefined === x)
670 x = 0;
671 if (undefined === y)
672 y = 0;
673 if (undefined === width)
674 width = this.width - x;
675 if (undefined === height)
676 height = this.height - y;
677 this.#firmata.doPocoBegin(x, y, width, height);
678 }
679 end() {
680 this.#firmata.doPocoEnd();
681 }

Callers 7

decompressFunction · 0.95
encodeMethod · 0.95
mainFunction · 0.95
mainFunction · 0.95
offscreenFunction · 0.95
onReadyFunction · 0.95
onReadyxFunction · 0.95

Calls 1

doPocoBeginMethod · 0.80

Tested by

no test coverage detected