import { ColorIndex } from "./ColorIndex"; export type EdgeTypeId = -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16; /** * Rows of image data where each point represents the type of edge the pixel * is a part of. * * Point system: * Edge node types ( ▓: this layer or 1; ░: not this layer or 0 ) * 12 ░░ ▓░ ░▓ ▓▓ ░░ ▓░ ░▓ ▓▓ ░░ ▓░ ░▓ ▓▓ ░░ ▓░ ░▓ ▓▓ * 84 ░░ ░░ ░░ ░░ ░▓ ░▓ ░▓ ░▓ ▓░ ▓░ ▓░ ▓░ ▓▓ ▓▓ ▓▓ ▓▓ * 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 */ export type EdgeRaster = EdgeTypeId[][]; export declare class EdgeRasterBuilder { /** * * Builds one layer for each color in the given color index. * * @param colorIndex * @returns */ static buildForColors(colorIndex: ColorIndex): EdgeRaster[]; static buildForColor(colorData: ColorIndex, colorId: number): EdgeRaster; } //# sourceMappingURL=EdgeRasterBuilder.d.ts.map