SnapManager
Table of contents
class SnapManager {}
Constructs a new instance of the SnapManager
class
Parameters
Name | Description |
---|---|
|
|
Properties
readonly editor: Editor
readonly handles: HandleSnaps
readonly shapeBounds: BoundsSnaps
Methods
clearIndicators(): void
getCurrentCommonAncestor(): TLShapeId | undefined
getIndicators(): SnapIndicator[]
getSnappableShapes(): Set<TLShapeId>
getSnapThreshold(): number
setIndicators(indicators: SnapIndicator[]): void
Parameters
Name | Description |
---|---|
|
|
Returns
void