SourceTermAnalysisSystem_vue/node_modules/@antv/x6/es/registry/connection-point/boundary.d.ts
2026-05-15 10:22:44 +08:00

19 lines
630 B
TypeScript

import { Rectangle, Segment } from '@antv/x6-geometry';
import { ConnectionPoint } from './index';
export interface BoundaryOptions extends ConnectionPoint.StrokedOptions {
selector?: string | string[];
insideout?: boolean;
precision?: number;
extrapolate?: boolean;
sticky?: boolean;
}
export interface BoundaryCache {
shapeBBox?: Rectangle | null;
segmentSubdivisions?: Segment[][];
}
/**
* Places the connection point at the intersection between the
* edge path end segment and the actual shape of the target magnet.
*/
export declare const boundary: ConnectionPoint.Definition<BoundaryOptions>;