Skip to main content

KPath2dOffsetRet

kds-plugin-document / Exports / KPath2dOffsetRet

Interface: KPath2dOffsetRet

Represent the result of path 2d offset.

Table of contents​

Properties​

Properties​

newCurves​

• newCurves: KBoundedCurve2d[]

The newly created curves to connect offset curves after offsetting. For example, we offset arc DEA to right, the arc will become small, we create DG and FA to make sure all edges are connected.

 B-------------------- .A
| .
| E :
| .
C-------------------- .D

B-------------------------A
| |F
| E :
| | G
C----------------------- .D

Defined in​

api.d.ts:9122


offsetCurves​

• offsetCurves: KBoundedCurve2d[][]

Defined in​

api.d.ts:9103


originalCurves​

• originalCurves: KBoundedCurve2d[]

The original curve - new curves mapping

Defined in​

api.d.ts:9102


resultPaths​

• resultPaths: KBoundedCurve2d[][]

The result paths after offsetting.

Defined in​

api.d.ts:9098