react-native-mask-segment-c.../dist/utils/paintColorMapTexture.d.ts
a1518 acd6d3a73d feat: add MaskSegmentApp source code and config
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 00:27:28 -07:00

5 lines
489 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { type SkImage } from '@shopify/react-native-skia';
import type { BgrColor } from '../components/MaskSegmentCanvas.types';
/** 按 pickMap 展开的上色颜色图(与 pick 同尺寸,未上色像素 a=0。支持 maskFeather 产生软边缘 alpha。 */
export declare function buildPaintColorMapImage(pickBuffer: Uint8Array, cols: number, rows: number, paintedRegions: Map<number, BgrColor>, featherRadius?: number): SkImage;
//# sourceMappingURL=paintColorMapTexture.d.ts.map