Skip to main content

KRectPickResult

kds-plugin-document / Exports / KRectPickResult

Interface: KRectPickResult

框选结果

The KRectPickResult class represents the rect pick result.

Table of contents​

Methods​

Methods​

getAllPicked​

▸ getAllPicked(): KEntity[]

获取选中的所有图形实体

Get all the picked entities.

Returns​

KEntity[]

All the picked entities.

Defined in​

api.d.ts:4541


getSize​

▸ getSize(): number

获取选中的图形实体的数量

Get the size of all the picked entities.

Returns​

number

The size of all the picked entities.

Defined in​

api.d.ts:4532