Some checks failed
Publish to npm / publish (push) Has been cancelled
- Remove all Chinese characters from src/, example/, ios/, patches/, tests/ - Add esbuild-based build obfuscation (minify + identifier mangle + no sourcemaps) - Drop src/ from npm publish, only ship minified dist/ - Remove source maps and declaration maps from build output - Add README icons and visual polish throughout - Fix broken Table of Contents anchor links in README Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
579 B
TypeScript
18 lines
579 B
TypeScript
import { type SkPath } from '@shopify/react-native-skia';
|
|
import type { SegmentRegion, RegionMaskData } from './maskSegmentation';
|
|
export declare function buildRegionOutlinePathForRegion(regionId: number, regions: SegmentRegion[], maskData: RegionMaskData, rect: {
|
|
x: number;
|
|
y: number;
|
|
w: number;
|
|
h: number;
|
|
}, normSeed?: {
|
|
x: number;
|
|
y: number;
|
|
}): SkPath;
|
|
export declare function buildAllRegionOutlinePaths(regions: SegmentRegion[], maskData: RegionMaskData, rect: {
|
|
x: number;
|
|
y: number;
|
|
w: number;
|
|
h: number;
|
|
}): Map<number, SkPath>;
|