snapEdgeThreshold property

double? snapEdgeThreshold
getter/setter pair

触发吸边的距离阈值(单位:像素) 如果为 null,则保持原有逻辑(松手时总是根据中心点吸边) 如果不为 null,只有距离边缘小于该阈值时才触发吸边,否则停留在原地

Implementation

double? snapEdgeThreshold = 80;