SnapManager
See source codeTable of contents
class SnapManager {}Constructor
Constructs a new instance of the SnapManager class
Parameters
| Name | Description |
|---|---|
|
Properties
editor
readonly
readonly editor: Editorhandles
readonly
readonly handles: HandleSnapsshapeBounds
readonly
readonly shapeBounds: BoundsSnapsMethods
clearIndicators()
clearIndicators(): voidgetCurrentCommonAncestor()
getCurrentCommonAncestor(): TLShapeId | undefinedgetIndicators()
getIndicators(): SnapIndicator[]getSnappableShapes()
getSnappableShapes(): Set<TLShapeId>getSnapThreshold()
getSnapThreshold(): numbersetIndicators()
setIndicators(indicators: SnapIndicator[]): voidParameters
| Name | Description |
|---|---|
|
Returns
voidPrev
ShapeUtilNext
Stadium2d