跳到主要内容

IPlankPathPoint 接口

interface IPlankPathPoint 

属性

clockwise

clockwise?: boolean;

切圆必传 轮廓路径顺时针 true=外弧 false=内弧 轮廓路径逆时针 true=内弧 false=外弧

cornerCutDistance

cornerCutDistance?: [string, string];

切角两边上切点距离当前点的距离(切角专用)

majorRadius

majorRadius?: string;

长轴 (椭圆必传)

示例

"345.12"

minorRadius

minorRadius?: string;

短轴 (椭圆必传)

示例

"345.12"

offset

offset?: string;

圆心偏移 (切圆专用)

示例

"0,0" "#W/2,#D/2"

position

position: string;

点的位置

示例

"123,-345" "#W/2,#D/2"

radius

radius?: string;

半径 (倒圆切圆专用)

示例

"345.12"

type

type: EPlankPathPointType;

点的类型

类型: EPlankPathPointType