跳到主要内容

IProfileOrPath 接口

interface IProfileOrPath 

槽路径/轮廓

属性

curves

curves: Array<{
type: 'LineSeg' | 'Arc';
isCCW?: boolean;
minorArc?: boolean;
radius?: number;
bulge?: number;
}>;

points

points: number[];

点的坐标,每两个值代表一个点 eg: [100, 200, 250, 300]