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

Method rectangle

modules/commodetto/commodettoPocoCore.js:66–70  ·  view source on GitHub ↗
(x, y, width, height)

Source from the content-addressed store, hash-verified

64
65 // rectangle
66 rectangle(x, y, width, height) {
67 if (undefined !== height)
68 return new Rectangle(x, y, width, height);
69 return new Rectangle(0, 0, 0, 0);
70 }
71}
72
73function build(width, height, byteLength, pixelFormat, displayListLength, rotation) { return native("xs_poco_build").call(this, width, height, byteLength, pixelFormat, displayListLength, rotation); }

Callers 2

constructorMethod · 0.80
main.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected