Skip to main content

KDrawLinesOption

kds-plugin-document / Exports / KDrawLinesOption

Interface: KDrawLinesOption

临时线绘制选项

The KDrawLinesOption class represents the option for Drawing temporary lines.

Table of contents​

Properties​

Properties​

color​

• Optional color: KColor

颜色

The lines color. Default is { r: 0, g: 0, b: 0}.

Defined in​

api.d.ts:6323


dashSize​

• Optional dashSize: number

虚线长度

The size of the dash. Default is 100.

Defined in​

api.d.ts:6339


depthTest​

• Optional depthTest: boolean

是否被遮挡

indicate whether or not the lines will be covered by other objects. The lines will be covered by other object as default.

Defined in​

api.d.ts:6355


gapSize​

• Optional gapSize: number

虚线间距

The size of the gap. Default is 100.

Defined in​

api.d.ts:6347


pattern​

• Optional pattern: KLinePattern

线型

The line pattern. Default is Solid.

Defined in​

api.d.ts:6331