()
| 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) |
| 64 | const t = this.getAlignmentPatternPositions(), |
| 65 | e = t.length |
| 66 | for (let r = 0; r < e; r++) for (let n = 0; n < e; n++) (0 == r && 0 == n) || (0 == r && n == e - 1) || (r == e - 1 && 0 == n) || this.drawAlignmentPattern(t[r], t[n]) |
| 67 | this.drawFormatBits(0), this.drawVersion() |
| 68 | } |
| 69 | drawFormatBits(t) { |
| 70 | const e = (this.errorCorrectionLevel.formatBits << 3) | t |
| 71 | let r = e |
no test coverage detected