Skip to main content
DragConstrainFunction<E>
Type Parameters
E
Defines a function that can constrain drag.
(desiredLoc:PointXY, dragEl:E, modelObject:Node | Group, size:Size, currentLoc:PointXY, e:MouseEvent) => PointXY