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

Method getModule

external/.qrcodegen.js:58–60  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

56 o(0 <= s && s <= 7), (this.mask = s), this.applyMask(s), this.drawFormatBits(s), (this.isFunction = [])
57 }
58 getModule(t, e) {
59 return 0 <= t && t < this.size && 0 <= e && e < this.size && this.modules[e][t]
60 }
61 drawFunctionPatterns() {
62 for (let t = 0; t < this.size; t++) this.setFunctionModule(6, t, t % 2 == 0), this.setFunctionModule(t, 6, t % 2 == 0)
63 this.drawFinderPattern(3, 3), this.drawFinderPattern(this.size - 4, 3), this.drawFinderPattern(3, this.size - 4)

Callers 1

toSvgStringFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected