static embedBasicPatterns(version, matrix) {
        // Let's get started with embedding big squares at corners.
        MatrixUtil.embedPositionDetectionPatternsAndSeparators(matrix);
        // Then, embed the dark dot at the left bottom corner.
        MatrixUtil.embedDarkDotAtLeftBottomCorner(matrix);
        // Position adjustment patterns appear if version >= 2.
        MatrixUtil.maybeEmbedPositionAdjustmentPatterns(version, matrix);
        // Timing patterns should be embedded after position adj. patterns.
        MatrixUtil.embedTimingPatterns(matrix);
    }
// - Position adjustment patterns, if need be
Position adjustment patterns, if need be
Position adjustment patterns if need be
static embedBasicPatterns(version, matrix) {
        MatrixUtil.embedPositionDetectionPatternsAndSeparators(matrix);
        MatrixUtil.embedDarkDotAtLeftBottomCorner(matrix);
        MatrixUtil.maybeEmbedPositionAdjustmentPatterns(version, matrix);
        MatrixUtil.embedTimingPatterns(matrix);
    }
static embedBasicPatterns ( version , matrix ) { MatrixUtil . embedPositionDetectionPatternsAndSeparators ( matrix ) ; MatrixUtil . embedDarkDotAtLeftBottomCorner ( matrix ) ; MatrixUtil . maybeEmbedPositionAdjustmentPatterns ( version , matrix ) ; MatrixUtil . embedTimingPatterns ( matrix ) ; }
Position adjustment patterns, if need be
Position adjustment patterns if need be
// Let's get started with embedding big squares at corners. // Then, embed the dark dot at the left bottom corner. // Position adjustment patterns appear if version >= 2. // Timing patterns should be embedded after position adj. patterns.