KAuxiliaryLine
kds-plugin-document / Exports / KAuxiliaryLine
Interface: KAuxiliaryLine
参考线。虽然在画布中只有有限的长度,但它实际上代表了一条无限长的直线
The KAuxiliaryLine class represents the auxiliary line. It is infinite in length.
Hierarchy
↳
KAuxiliaryLine
Table of contents
Methods
Methods
getKey
▸ getKey(): string
获取参考线的唯一标识符
Get a unique key assigned to an auxiliary curve.
Returns
string
The unique key.
Inherited from
Defined in
api.d.ts:1124
getLine
▸ getLine(): KLine3d
获取参考线对象的几何直线表达
Get the geometric 3D line corresponding to the auxiliary line.
Returns
The geometric 3D line.
Defined in
api.d.ts:1153
getType
▸ getType(): KEntityType
获取图形实体类型
Get the entity's type.
Returns
The entity's type.
Inherited from
Defined in
api.d.ts:2656
isVisible
▸ isVisible(): boolean
获取该参考线是否可见
Get the auxiliaryCurve property of it is visible or not.
Returns
boolean
Overrides
Defined in
api.d.ts:1161