MohoView:PickEdge(where, curveID, segID, pickWidth)

Version added: before 9.5

Picks an edge near the given pixel location

ArgumentTypeDescriptionDefaultVer
wherePointPixel location on the screen< 9.5
curveIDint32Id of an M_Curve object in the current vector layer, returned by this function< 9.5
segIDint32Which segment on the curve was picked, returned by this function< 9.5
pickWidthint323< 9.5

Return type (int32, int32): curveID, segID

Picks an edge near the given pixel location.
String "PickEdge" is found in the following scripts:

Paint Bucket + (by Danfield)

MR Curve Tool (by eugenebabich)

Select Points (by Lukas)

SS - Curve Exposure+ Change Anchor Point of Curve (by simplsam)

AE Transform points and curvature (by A.Evseeva)

See all...