You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
395 B
11 lines
395 B
10 months ago
|
export declare class BitMatrix {
|
||
|
static createEmpty(width: number, height: number): BitMatrix;
|
||
|
width: number;
|
||
|
height: number;
|
||
|
private data;
|
||
|
constructor(data: Uint8ClampedArray, width: number);
|
||
|
get(x: number, y: number): boolean;
|
||
|
set(x: number, y: number, v: boolean): void;
|
||
|
setRegion(left: number, top: number, width: number, height: number, v: boolean): void;
|
||
|
}
|