Canvas.setSnap Method

Set the snap distance of the design surface.
 

Parameters

snap

Type: Number
Distance in px.