UNPKG

js-angusj-clipper

Version:

Polygon and line clipping and offsetting library for Javascript / Typescript - a port of Angus Johnson's clipper to WebAssembly / Asm.JS

14 lines (13 loc) 439 B
import { NativeDeletable } from "./NativeDeletable"; import { NativePath } from "./NativePath"; import { NativeVector } from "./NativeVector"; export interface NativePolyNode extends NativeDeletable { contour: NativePath; childs: NativeVector<NativePolyNode>; getParent(): NativePolyNode | null; getNext(): NativePolyNode | null; isHole(): boolean; isOpen(): boolean; childCount(): number; index: number; }