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

Method clip

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

Source from the content-addressed store, hash-verified

680 this.#firmata.doPocoEnd();
681 }
682 clip(x, y, width, height) {
683 if (undefined === x)
684 this.#firmata.doPocoClip();
685 else
686 this.#firmata.doPocoClip(x, y, width, height);
687 }
688 origin(x, y) {
689 if (undefined === x)
690 this.#firmata.doPocoOrigin();

Callers

nothing calls this directly

Calls 1

doPocoClipMethod · 0.80

Tested by

no test coverage detected