Files
Chen Xiao 0b64e2de94 First commit.
Signed-off-by: Chen Xiao <abigwc@gmail.com>
2026-05-08 14:43:16 +08:00

5 lines
251 B
TypeScript

export type Point = [number, number];
export type Line = [Point, Point];
export type Polygon = Point[];
export declare function hachureLines(polygons: Polygon | Polygon[], hachureGap: number, hachureAngle: number, hachureStepOffset?: number): Line[];