Usages of SnapState
Method Return Values
dragFinished (Point, boolean) | in LabelSnapContext | ||
handleMove (Point, boolean) | in LabelSnapContext | ||
dragFinished (Point, boolean) | in SnapContext | Called when a drag has been successfully finished. | |
handleMove (Point, boolean) | in SnapContext | Handles a move. | |
processSnapResults (List<SnapResult>, Point, Point) | in SnapContext | Chooses the current SnapResults from a temporary list. |
Method Parameters
dragged (Point, SnapState) | in SnapContext | This method needs to be called by the client IInputMode that initialized this instance after it has performed the actual move operation with the adjusted coordinates after a call to handleMove. | |
isSnapped (Point, SnapState) | in SnapResult | Checks whether this instance is still snapped given the final mouse location. | |
snap (Point, SnapState) | in SnapResult | Core method that performs the actual snapping. |