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:4617


dashSize

Optional dashSize: number

虚线长度

The size of the dash. Default is 100.

Defined in

api.d.ts:4633


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:4649


gapSize

Optional gapSize: number

虚线间距

The size of the gap. Default is 100.

Defined in

api.d.ts:4641


pattern

Optional pattern: KLinePattern

线型

The line pattern. Default is Solid.

Defined in

api.d.ts:4625