Houjie
2025-07-24 52a3ff1bce1417b39f6872d8e8cb378e9c2ccc6f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import BitMatrix from '../../common/BitMatrix';
import { int } from '../../../customTypings';
/**
 * Aztec 2D code representation
 *
 * @author Rustam Abdullaev
 */
export default class AztecCode {
    private compact;
    private size;
    private layers;
    private codeWords;
    private matrix;
    /**
     * @return {@code true} if compact instead of full mode
     */
    isCompact(): boolean;
    setCompact(compact: boolean): void;
    /**
     * @return size in pixels (width and height)
     */
    getSize(): int;
    setSize(size: int): void;
    /**
     * @return number of levels
     */
    getLayers(): int;
    setLayers(layers: int): void;
    /**
     * @return number of data codewords
     */
    getCodeWords(): int;
    setCodeWords(codeWords: int): void;
    /**
     * @return the symbol image
     */
    getMatrix(): BitMatrix;
    setMatrix(matrix: BitMatrix): void;
}