HandleSnaps

See source code
Table of contents
class HandleSnaps {}

Constructor

Constructs a new instance of the HandleSnaps class

Parameters

NameDescription

manager


Properties

editor

readonly
readonly editor: Editor

manager

readonly
readonly manager: SnapManager

Methods

snapHandle()

snapHandle({
  currentShapeId,
  handle,
}: {
  currentShapeId: TLShapeId
  handle: TLHandle
}): null | SnapData

Parameters

NameDescription

{ currentShapeId, handle, }

{
  currentShapeId: TLShapeId
  handle: TLHandle
}

Returns

null | SnapData

Prev
GroupShapeUtil
Next
HistoryManager