Skip to content

Documentation / @geoverse/editor-core / GuideSnapResult

Interface: GuideSnapResult

Defined in: packages/editor-core/src/snap/guide.ts:31

Properties

active

ts
active: Guide[];

Defined in: packages/editor-core/src/snap/guide.ts:35

命中的辅助线(交点吸附时为 2 条,单线吸附为 1 条,未命中为空)


coord

ts
coord: Position;

Defined in: packages/editor-core/src/snap/guide.ts:33

吸附后坐标(未命中则原样返回 cursor)